Difference between revisions of "Backup"

From PrgmrWiki
(remove broken link.)
Line 1: Line 1:
 
What are some ways to backup the vps? How should a backup be done while in the rescue image or while the vps is running?
 
What are some ways to backup the vps? How should a backup be done while in the rescue image or while the vps is running?
The [http://www.backup-manager.org/ Backup Manager] tool is simple and works well for backing up certain directories while the vps is running.
 
  
 
A full backup is only possible while in the rescue image, and there is often not enough tmp space to use as a destination, so it needs to be copied over the network directly to the destination. One way is to setup a special account with its own password or ssh keys on the backup destination server, then pipe tar or gzip through ssh. This works with a filesystem image directly from or to a partition, or with tar and a mounted filesystem.  (Some more details: [[Backing_up_disk_image_via_SSH]])
 
A full backup is only possible while in the rescue image, and there is often not enough tmp space to use as a destination, so it needs to be copied over the network directly to the destination. One way is to setup a special account with its own password or ssh keys on the backup destination server, then pipe tar or gzip through ssh. This works with a filesystem image directly from or to a partition, or with tar and a mounted filesystem.  (Some more details: [[Backing_up_disk_image_via_SSH]])

Revision as of 19:00, 28 June 2017

What are some ways to backup the vps? How should a backup be done while in the rescue image or while the vps is running?

A full backup is only possible while in the rescue image, and there is often not enough tmp space to use as a destination, so it needs to be copied over the network directly to the destination. One way is to setup a special account with its own password or ssh keys on the backup destination server, then pipe tar or gzip through ssh. This works with a filesystem image directly from or to a partition, or with tar and a mounted filesystem. (Some more details: Backing_up_disk_image_via_SSH)

Also, see Restore