I am searching for a tool to assist me in making backup images of remotely running VPS servers. Thanks!
|
To create full, working images nothing works better then dd. mount your root system read-only; a bit tricky, you need to make sure nothing writes to the fs and then issue
(-n makes sure that the mount itself doesn't write to the filesystem) and copy the contents using dd:
You can also create an empty filesystem:
and format the file using mkfs.ext3 (or whatever your root is using). after that you can mount the file and create /proc or /dev folders; you can also run grub on that file to make sure it boots the way you want. After you are done, pack all that in a script... |
|||||
|
|
You may use rsync, duplicity (I'd suggest with ftplicity) or dar. Or, as already said, LVM or filesystem snapshots (some filesystems like XFS support snapshots), but these snapshots tend to be more space wasting than explicit file backups. EDIT: You said servers. If you have many servers, thinking about an enterprise backup solution like Bacula might be the right choice. |
||||
|
|
|
if data you want to backup [ whole system or just some part of it ] resides on lvm volume - use lvm snapshots. on the other hand i think file-based backup should be fine [ except some databases, but for those you can use dedicated tools - mysqldump / pg_dump etc ]. [ probably it's not... ] |
|||
|
|