Polanskiman Posted March 10, 2018 Share #1 Posted March 10, 2018 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. Quote Link to comment Share on other sites More sharing options...
sbv3000 Posted March 11, 2018 Share #2 Posted March 11, 2018 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. Quote Link to comment Share on other sites More sharing options...
Dfds Posted March 11, 2018 Share #3 Posted March 11, 2018 Personally I'd go with option 2. Quote Link to comment Share on other sites More sharing options...
Polanskiman Posted March 12, 2018 Author Share #4 Posted March 12, 2018 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. Quote Link to comment Share on other sites More sharing options...
Dfds Posted March 12, 2018 Share #5 Posted March 12, 2018 For me purely because it kept everything in DSM. Quote Link to comment Share on other sites More sharing options...
sbv3000 Posted March 12, 2018 Share #6 Posted March 12, 2018 5 hours ago, Dfds said: For me purely because it kept everything in DSM. same here, one stop shop to setup and control using DSM Quote Link to comment Share on other sites More sharing options...
Polanskiman Posted March 13, 2018 Author Share #7 Posted March 13, 2018 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. Quote Link to comment Share on other sites More sharing options...
Dfds Posted March 13, 2018 Share #8 Posted March 13, 2018 I guess the only way to know for sure if it's going to work the way you want is to test it. Quote Link to comment Share on other sites More sharing options...
Polanskiman Posted March 13, 2018 Author Share #9 Posted March 13, 2018 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. Quote Link to comment Share on other sites More sharing options...
Dfds Posted March 13, 2018 Share #10 Posted March 13, 2018 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. Quote Link to comment Share on other sites More sharing options...
Polanskiman Posted March 14, 2018 Author Share #11 Posted March 14, 2018 That's not really an option either. As I said this is a live server with a hosting company running cPanel and on a shared server. No way I can reproduce that on a VM exactly as is. Anyway, thank you for the input. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.