Jump to content
XPEnology Community

Server to DSM backup: your opinion


Recommended Posts

Little help from the community here, 

 

I am having a hard time choosing between two possible scenarios backup wise. Here is the deal. I need to backup a server (full backup - cpanel). 

I have looked into rsync but I want to avoid that due to SSH needing to be open. So I opted for FTP. Here are the two options I have:

 

1 - push option: create the backup from a script directly on the server then push the backup to DSM via FTP. This implies the script containing both cpanel credential of the server and DSM FTP credentials. The script that can be used for that can be found here: https://github.com/eduardoestrella/cPanel-automated-system-backup

 

2 - pull option: This option does not involve any script on the server, instead it is done from a script on DSM by logging into the remote server, mirroring the content and packaging all in tar.gz. This could be summarised by the following link https://evotec.xyz/how-to-backup-ftp-to-synology/

 

What do you guys think would be the best approach?

 

Thank you.

Link to comment
Share on other sites

I''ve used Duplicati for encrypted over the internet backups between devices, not Synology, but there is a third Syno party package, https://www.duplicati.com/download. Source runs Duplicati, target setup as a WebDAV server, https://www.synology.com/en-uk/knowledgebase/DSM/tutorial/File_Sharing/How_to_access_files_on_Synology_NAS_with_WebDAV

 

Of your two scenarios above 2) looks to me a 'better' approach.

Link to comment
Share on other sites

20 hours ago, sbv3000 said:

I''ve used Duplicati for encrypted over the internet backups between devices, not Synology, but there is a third Syno party package, https://www.duplicati.com/download. Source runs Duplicati, target setup as a WebDAV server, https://www.synology.com/en-uk/knowledgebase/DSM/tutorial/File_Sharing/How_to_access_files_on_Synology_NAS_with_WebDAV

 

Of your two scenarios above 2) looks to me a 'better' approach.

 

Thanks but duplicati is not an option. The server I am backing up is on a shared server. I can't install third party applications.

 

16 hours ago, Dfds said:

Personally I'd go with option 2.

 

At both: why option 2?

 

Also, I am unsure whether choosing option 2 does a proper full cPanel backup (by proper I mean a backup that can be restored through cPanels restore function) compared to doing it directly on the server. If anyone has some info on that it would be appreciated.

Link to comment
Share on other sites

Well that makes sense. My only concern is that cPanel backup thing. I am not entirely sure if doing the backup from DSM does in fact do a proper cPanel backup. It will of course backup all directories in the account but not sure if many of those directory will be restorable. Will investigate that. Thanks for the input to both.

Link to comment
Share on other sites

3 hours ago, Polanskiman said:

That's not an option. Testing a restore file on a live server is not really the kind of test that one should carry out. If for some reason the restore file is faulty then we could be talking several hours of downtime.

 

On a live server I would agree, however you do need to perform some kind of disaster recovery test to verify that what you're doing to safeguard the data is actually going to work. If a backup / DR server isn't possible then I  would have thought a little bit of time invested in creating a couple of VM's for the purpose would be time well spent.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...