Container backup on remote host [message #41406] |
Mon, 17 January 2011 08:17 |
aluputi
Messages: 5 Registered: January 2011
|
Junior Member |
|
|
Hello!
I have a machine running multiple containers. Some are big, having a lot of files.
How can I do a network backup, and what is the recommended method?
I have a backup server with enough space. But there isn't enough space on the HN to backup locally and then move the files to the backup server. I used vzdump when I had enough space, but now I can't anymore. And on the big containers it also takes a lot of time.
I do backups daily, so I think that a synchronization would be prefered instead of a complete backup.
Please provide me with some information on how to do these backups. I want complete container backup, with easy restoration (vzdump is perfect).
Thank you very much!
|
|
|
|
|
|
|
|
Re: Container backup on remote host [message #42973 is a reply to message #42972] |
Thu, 23 June 2011 09:21 |
aluputi
Messages: 5 Registered: January 2011
|
Junior Member |
|
|
I've already done the script, it is more complicated than this one. It uses arrays for the containers and all the settings are configurable.
I was just asking for scripts to view how others do it, especially to see what rsync options are used. I checked the vzdump script, and took the rsync options from there.
By the way, the rsync must be done twice, once with the machine running, then the machine is suspended (and not stopped), rsynced again and unsuspended.
Thanks for your kindness!
|
|
|