Hi,

I have BackupPC 4.4.0 installed on Ubuntu Server 21.10 via the Ubuntu
repo package.

All backup seems to be working fine. However a few directories are not
included in the backup's I have noticed.

One of these directories is "/var/lib/automysqlbackup". Which is created
after installing "automysqlbackup" which creates auto backup's mysql db's.

This folder has the following rights:

root@server-123:/var/lib/automysqlbackup# ls -allh
total 24K
drwxr-x---  6 root root 4.0K Mar 20 12:59 .
drwxr-xr-x 47 root root 4.0K Mar 14 10:50 ..
drwxr-xr-x  3 root root 4.0K Mar 14 10:50 daily
drwxr-xr-x  2 root root 4.0K Mar 14 10:50 monthly
drwxr-xr-x  3 root root 4.0K Mar 14 10:50 weekly

When backuppc does a full backup it says that the backup has completed
successfully. However when I check this directory backuppc has created
the directory but says:

The directory /var/lib/aytomysqlbackup is empty

Although I do see the following in the log file:
2022-03-20 13:19:43 full backup 15 complete, 128577 files, 2864541467
bytes, 337 xferErrs (0 bad files, 0 bad shares, 337 other)

On the client machine (Ubuntu 20.04.4) I used "sudo visudo" to edit the
/etc/sudoers file and added the following:

# Allow backuppc to run rsync as root
backuppc ALL=NOPASSWD: /usr/bin/rsync

Furthermore I changed authorized_keys to add a couple of options to it:
no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa
XXXXXXXXXX backuppc@backup

So the questions is why is that particular directory not being backed up?

Best regards,
Chiel





_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to