How to download incremental backups
How can I download incremental backups - the first one and subsequent backups individualy and correctly keeping permissions, symlinks, ownerships etc by compressing to a tar or rsync uncompressed to a linux machine? In a way that i can upload to a new server in case of hdd crash or a server disaster.
-
Hi, If you want to download it in a compressed manner, it is better if you set the backup to compressed instead of incremental. Guide to Standardized Hooks - Script Hooks - Software Development Kit - cPanel Documentation You can create a hook and create a script in that section to sync the backup to the different location. However, there is another way for this. Configure the FTP backup on your server and keep the option "keep copy of backup locally" selected. This way, it will sync a copy to the remote server, and keep a backup copy locally too.. 0 -
Yes, but i need to download the incremental backup: in a way that can be restored if a need to upload that backup to another server. I need to download the first backup(of incremental backup) and after download only the incremental ones to my linux machine. How can I download the incremental backups in a way that I can restore in case of hdd failure or restore in a new cPanel server? I need to download preserving symlinks, permissions etc. What the best way to do that manually, is by rsync the content to my linux in my desktop or compressing the incremental backups to a file to keep the symlinks, hardlinks, permissions, etc... and download them? I need to keep incremental backups because in other way, the cpu usage is too high and the time they take, and too much space to keep all this huge compressed diary backups in the server or space needed to store all this diary backups. If i can download the incremental backups, its perfect to me. 0 -
Hello, I believe the feature you are looking for is the ability to store incremental backups on a remote server. This isn't supported in cPanel version 64, but it's planned for inclusion in cPanel version 66: Support for remote incremental backups This will allow you to store incremental backups on a remote destination. Regarding a workaround in the meantime, could you let us know what type of remote system you plan to store the backups on? Is it on an extra hard drive, your own computer, or another server? Thank you. 0 -
No, I just need to download manually via RSYNC. Need to know only how to download and upload. Just that How can i DOWNLOAD via RSYNC manually preserving hard links, symlinks and permissions. i don't have any ftp server to send. I need to know how to download incremental backups to my notebook and how to upload to another server in a way that can be restored. Is possible to do that with mounted sshfs in order to preserve hard links, symlinks(if any) and other things needed to restore like permissions, ownership(ownership is needed when restoring an account?)? If possible in a way that hardlinks are preserved and rsync dont download all over again and only new things. Thank you 0 -
Hello, Here's a third-party URL where custom rsync commands are discussed: How to Backup Files in Linux With Rsync on the Command Line Thank you. 0 -
thanks, it's exactly what i need. 0 -
so, if i do an rsync -av remote@host:/backups ./backups its the correct way to download the incremental backup and if i do another rsync -av to a new server with this incremental backup, i can restore with all is needed, isn't? 0 -
Hello, Yes, that command would work to pull the /backups directory from the remote server to the server you are running the command on. It's a good idea to create a test account, generate a backup for it, terminate the test account, and then restore it with the data pulled via rsync to verify it works as intended. Thank you. 0 -
Great idea. Thanks. 0
Please sign in to leave a comment.
Comments
9 comments