Hello, so i have a urbackup server that backups multiple computers windows and linux but only File backups no image. And i was tasked to backup the backuped data to a Nas storage device which will be offline all the time and only online when updating the backup once a month or two months or so .
My initial tought was to just copy the urbackup backup volume with rsync over ssh . I have done this succesfully . From 1,63 TB of data on urbackupsrv i got 6,98 TB on NAS and then the file copy stopped because it did not have enought space left on the NAS to continue . Urbackup and the Nas both are btrfs file systems.
The rsync command i used is :
“rsync -avP --delete email@example.com:/mnt/backup_partition/$1 /volume1/backup_8_b”
where $1 represents a parameter to a bash function which is just the different folders in the backup_partition . Im starting multiple rsync processes concurrently to speed it up a bit. Each folder in the volume gets a own rsync process .
So my first problem is the size , i was expecting for it to be sub 7TB as the nas has 7Tb of free space.
Kudos to urbackup space management. I guess this is probably because im copying symlinks of incremental file backups as files or something to that end ?Help with understanding would be appreciated .
My first question thus is what would be the best solution to copy everyrelevant data from the backups but space efficient with intact symlinks ? Is the -H for rsynch command as explained here the solution for this ?explainshell.com - rsync -a -x -u -v ?
My second question is what else do i need to copy from the server to be able to restore the backup in case of fatal unrecovarble failure ? Do i also need the urbackup user folder ? Other settings files folders ?
My third question is what would be the best way to do a recovery from the Nas . Setting up a blank new server and just copy over all the files? or do i need to do a snapshot of the current urbackup ? The urbackup is a virtual maschine but i can only snapshot the linux system volume because of space requirements and i can do that only if i detach the volumes where the backups are happening because of functional limitations of Xenserver which is in use as the underlying virtualization enviroment .
My fourth question is data integrity while being copied , do i need to turn the urbackupsrv.service off ? i have done that currently with my first test . If this is the case , is there a command line command or other solution where i can look up if there are any ongoing backup activities and wait for the to finish ? Is it even necessary to wait for it to finish ?
Any ideas or remarks or better approaches are highly appreciated.
LG Marek Stepan
P.S. Currently after first couple weeks of using urbackup im absolutely loving it ! Not only the software but the fast and good support i got on the forum here. I have had a couple bad experiences with f.e. openvpn forum where i was so disgusted that i will never again use openvpn. I will definetly want to persuade my chef to purchase licenses for the client computers to speed it up.