Snap shots of dedicated server
Snap shots of dedicated server
Hello,
What's a good program to making complete snapshots off a dedicated server?
Thnx in advanced
What's a good program to making complete snapshots off a dedicated server?
Thnx in advanced
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Snap shots of dedicated server
We use rdiff-backup here
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: Snap shots of dedicated server
That depends on what your definition of snapshot is. If you want *true* snapshots then rdiff-backup is not gonna cut it. It will backup your files just fine (like BackupPC, which is what I use), but it will backup each file one after another and doesn't necessarily give you a true point-in-time snapshot of a filesystem.
* If you use LVM you could use its snapshot support.
* If you use a filesystem which supports snapshots (e.g. btrfs, Reiser4?) you could use that.
If you don't need true point-in-time snapshots, but are just looking for backups, then tools like rsync/rdiff-backup/BackupPC will probably do the job just fine and they don't require LVM or specific filesystems.
* If you use LVM you could use its snapshot support.
* If you use a filesystem which supports snapshots (e.g. btrfs, Reiser4?) you could use that.
If you don't need true point-in-time snapshots, but are just looking for backups, then tools like rsync/rdiff-backup/BackupPC will probably do the job just fine and they don't require LVM or specific filesystems.
Lemonbit Internet Dedicated Server Management
- mikeshinn
- Atomicorp Staff - Site Admin
- Posts: 4152
- Joined: Thu Feb 07, 2008 7:49 pm
- Location: Chantilly, VA
Re: Snap shots of dedicated server
I assume he means a snapshot backup. Is that what you meant?That depends on what your definition of snapshot is. If you want *true* snapshots then rdiff-backup is not gonna cut it. It will backup your files just fine (like BackupPC, which is what I use), but it will backup each file one after another and doesn't necessarily give you a true point-in-time snapshot of a filesystem.
If so, you can roll back with rdiff-backup and BackupPC and you can create point in time backups with rsync backup if you use a branching tree. The branching tree method is easy to use but requires a little skill to setup, the roll back method with rdiff-backup is a little more work to use, but its automatic and very easy to setup up. BackupPC is very easy to use, but requires some work to setup.
If you want backups, NEVER rely on file systems snapshots EVER. A snapshot is not a backup. If you lose the drive(s) or file system you're hosed. A snapshot is a local point in time copy of the filesystem, not a backup.
Michael Shinn
Atomicorp - Security For Everyone
Atomicorp - Security For Everyone
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: Snap shots of dedicated server
Sure. Although a cool trick is to create a file system snapshot and back that up.mikeshinn wrote:If you want backups, NEVER rely on file systems snapshots EVER. A snapshot is not a backup. If you lose the drive(s) or file system you're hosed. A snapshot is a local point in time copy of the filesystem, not a backup.
Lemonbit Internet Dedicated Server Management
- mikeshinn
- Atomicorp Staff - Site Admin
- Posts: 4152
- Joined: Thu Feb 07, 2008 7:49 pm
- Location: Chantilly, VA
Re: Snap shots of dedicated server
Yep, we do both. I just dont anyone to make the fatal error of assuming a snapshot is a backup, its a copy, a *local* copy.
Michael Shinn
Atomicorp - Security For Everyone
Atomicorp - Security For Everyone
Re: Snap shots of dedicated server
So what i need to backup.
If a want to update to new a version plesk and if it goes wrong that i can rollback to older version?
with using of rdiff-backup
Thnx in advancd
If a want to update to new a version plesk and if it goes wrong that i can rollback to older version?
with using of rdiff-backup
Thnx in advancd
- mikeshinn
- Atomicorp Staff - Site Admin
- Posts: 4152
- Joined: Thu Feb 07, 2008 7:49 pm
- Location: Chantilly, VA
Re: Snap shots of dedicated server
Heres a quick forum post I made about how to set this up:
https://www.atomicorp.com/forums/viewto ... kup#p15855
I also recommend backuppc.
https://www.atomicorp.com/forums/viewto ... kup#p15855
I also recommend backuppc.
Michael Shinn
Atomicorp - Security For Everyone
Atomicorp - Security For Everyone
Re: Snap shots of dedicated server
Thnx for the tut....
Only when i take look at the backup.log i see a lot of these errors:
So what i did wrong?
Thnx in adavanced
Only when i take look at the backup.log i see a lot of these errors:
Code: Select all
ListError etc/apf [Errno 13] Permission denied: '/etc/apf'
ListError etc/asl/www [Errno 13] Permission denied: '/etc/asl/www'
ListError etc/cron.d [Errno 13] Permission denied: '/etc/cron.d'
ListError etc/csf [Errno 13] Permission denied: '/etc/csf'
ListError etc/dcc/log [Errno 13] Permission denied: '/etc/dcc/log'
ListError etc/lvm [Errno 13] Permission denied: '/etc/lvm'
ListError etc/mail/spamassassin/sa-update-keys [Errno 13] Permission denied: '/etc/mail/spamassassin/sa-update-keys'
ListError etc/.pwd.lock [Errno 13] Permission denied: '/etc/.pwd.lock'
ListError etc/asl/config [Errno 13] Permission denied: '/etc/asl/config'
ListError etc/courier-imap/imapd [Errno 13] Permission denied: '/etc/courier-imap/imapd'
ListError etc/courier-imap/imapd-ssl [Errno 13] Permission denied: '/etc/courier-imap/imapd-ssl'
ListError etc/courier-imap/imapd-ssl.bak [Errno 13] Permission denied: '/etc/courier-imap/imapd-ssl.bak'
ListError etc/courier-imap/imapd-ssl.rpmorig [Errno 13] Permission denied: '/etc/courier-imap/imapd-ssl.rpmorig'
ListError etc/courier-imap/imapd-ssl.saved_by_plesk [Errno 13] Permission denied: '/etc/courier-imap/imapd-ssl.saved_by_plesk'
ListError etc/courier-imap/imapd.cnf [Errno 13] Permission denied: '/etc/courier-imap/imapd.cnf'
ListError etc/courier-imap/imapd.rpmorig [Errno 13] Permission denied: '/etc/courier-imap/imapd.rpmorig'
ListError etc/courier-imap/imapd.saved_by_plesk [Errno 13] Permission denied: '/etc/courier-imap/imapd.saved_by_plesk'
ListError etc/courier-imap/pop3d [Errno 13] Permission denied: '/etc/courier-imap/pop3d'
ListError etc/courier-imap/pop3d-ssl [Errno 13] Permission denied: '/etc/courier-imap/pop3d-ssl'
ListError etc/courier-imap/pop3d-ssl.bak [Errno 13] Permission denied: '/etc/courier-imap/pop3d-ssl.bak'
ListError etc/courier-imap/pop3d-ssl.rpmorig [Errno 13] Permission denied: '/etc/courier-imap/pop3d-ssl.rpmorig'
ListError etc/courier-imap/pop3d-ssl.saved_by_plesk [Errno 13] Permission denied: '/etc/courier-imap/pop3d-ssl.saved_by_plesk'
ListError etc/courier-imap/pop3d.bak [Errno 13] Permission denied: '/etc/courier-imap/pop3d.bak'
ListError etc/courier-imap/pop3d.cnf [Errno 13] Permission denied: '/etc/courier-imap/pop3d.cnf'
ListError etc/courier-imap/pop3d.rpmorig [Errno 13] Permission denied: '/etc/courier-imap/pop3d.rpmorig'
ListError etc/courier-imap/pop3d.saved_by_plesk [Errno 13] Permission denied: '/etc/courier-imap/pop3d.saved_by_plesk'
ListError etc/dcc/ids [Errno 13] Permission denied: '/etc/dcc/ids'
ListError etc/dcc/map [Errno 13] Permission denied: '/etc/dcc/map'
ListError etc/dcc/map.txt [Errno 13] Permission denied: '/etc/dcc/map.txt'
ListError etc/default/useradd [Errno 13] Permission denied: '/etc/default/useradd'
ListError etc/group- [Errno 13] Permission denied: '/etc/group-'
ListError etc/httpd/conf/httpd.pem [Errno 13] Permission denied: '/etc/httpd/conf/httpd.pem'
ListError etc/httpd/conf/workers.properties [Errno 13] Permission denied: '/etc/httpd/conf/workers.properties'
ListError etc/httpd/conf.d/000_mod_sed.conf [Errno 13] Permission denied: '/etc/httpd/conf.d/000_mod_sed.conf'
ListError etc/httpd/conf.d/zz010_psa_httpd.conf [Errno 13] Permission denied: '/etc/httpd/conf.d/zz010_psa_httpd.conf'
ListError etc/iscsi/iscsid.conf [Errno 13] Permission denied: '/etc/iscsi/iscsid.conf'
ListError etc/libaudit.conf [Errno 13] Permission denied: '/etc/libaudit.conf'
ListError etc/logrotate.d/apf [Errno 13] Permission denied: '/etc/logrotate.d/apf'
ListError etc/logrotate.d/named [Errno 13] Permission denied: '/etc/logrotate.d/named'
Thnx in adavanced
-
- Forum Regular
- Posts: 661
- Joined: Mon Oct 29, 2007 6:51 pm
Re: Snap shots of dedicated server
probably needs to run as root.
Re: Snap shots of dedicated server
I did the exact way what mikeshinn told in the tut....
-
- Forum Regular
- Posts: 661
- Joined: Mon Oct 29, 2007 6:51 pm
Re: Snap shots of dedicated server
in the tutorial its running as root. Is yours?
Re: Snap shots of dedicated server
Digging up an old post, but I'm having the exact same problem with ListError. It use to work as a charm on my old server but on the newly setup server I only get ListError. I have check the sudoers part, I have checked the authorized_keys command and really donät know what to try. Any suggestions?
Re: Snap shots of dedicated server
Ha! Found my mistake. The line in authorized_keys must be one line. First the restrictions then the key on ONE SINGLE LINE.
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: Snap shots of dedicated server
You can have multiple lines, but it's one authorized key per line.
Lemonbit Internet Dedicated Server Management