Automated Backups With rdiff-backup

Discussion in 'Server Operation' started by Hans, Apr 10, 2006.

  1. Hans

    Hans Moderator ISPConfig Developer

    Backup with rdiff from directory /var

    Falko,

    For your information: I gave also the command: rdiff-backup server1_backup::/var var

    This is what happens:

    mknod: `var/lib/named/dev/rdiff-backup.tmp.2312': Operation not permitted
    SpecialFileError lib/named/dev/null Error running ['mknod', 'var/lib/named/dev/rdiff-backup.tmp.2312', 'c', '1', '3']
    mknod: `var/lib/named/dev/rdiff-backup.tmp.2313': Operation not permitted
    SpecialFileError lib/named/dev/random Error running ['mknod', 'var/lib/named/dev/rdiff-backup.tmp.2313', 'c', '1', '8']
    UpdateError log/auth.log Updated mirror temp file var/log/rdiff-backup.tmp.2383 does not match source
    UpdateError log/daemon.log Updated mirror temp file var/log/rdiff-backup.tmp.2393 does not match source
    UpdateError log/httpd/ispconfig_access_log_2006_05_18 Updated mirror temp file var/log/httpd/rdiff-backup.tmp.2421 does not match source
    UpdateError log/mail.info Updated mirror temp file var/log/rdiff-backup.tmp.2438 does not match source
    UpdateError log/mail.log Updated mirror temp file var/log/rdiff-backup.tmp.2446 does not match source
    UpdateError log/munin/munin-graph.log Updated mirror temp file var/log/munin/rdiff-backup.tmp.2461 does not match source
    UpdateError log/munin/munin-html.log Updated mirror temp file var/log/munin/rdiff-backup.tmp.2469 does not match source
    UpdateError log/munin/munin-limits.log Updated mirror temp file var/log/munin/rdiff-backup.tmp.2477 does not match source
    UpdateError log/munin/munin-node.log Updated mirror temp file var/log/munin/rdiff-backup.tmp.2485 does not match source
    UpdateError log/munin/munin-update.log Updated mirror temp file var/log/munin/rdiff-backup.tmp.2493 does not match source
    UpdateError log/syslog Updated mirror temp file var/log/rdiff-backup.tmp.2528 does not match source

    When I gave the command: rdiff-backup server1_backup::/var/www www
    Everything goes fine.

    Is there no solution for me to backup the whole /var directory?

    Hans
     
  2. falko

    falko Super Moderator ISPConfig Developer

    There are some special files in your /var directory that cannot be backed up.
    You can try to back up /var and exclude /var/lib/named/dev etc., for example.
     
  3. wr19026

    wr19026 New Member

    There's one question that I just can't figure out: would HowTo this still work if I have changed /etc/ssh/sshd_config to deny root login:
    PermitRootLogin no

    Thanks in advance.
     
  4. wr19026

    wr19026 New Member

    Can anyone answer this question?
     
  5. falko

    falko Super Moderator ISPConfig Developer

    You mean on server1.example.com? No, it doesn't work then.
     

Share This Page