NethServer Version: 7.6.1810
**Module:**Backup
I’m having problems with the data backup. Initially I set it to use an NFS share on a small secondary server. Using the web interface, I entered the hostname of the server, then the share path. Everything looked ok…
When it runs, /var/log/backup.log give me very little:
Backup: backup-data
Backup started at 2019-04-17 01:00:01
Event pre-backup-data: FAIL
Backup status: FAIL
Looking through /var/log/messages gets me more detail:
Apr 17 01:00:02 barracuda esmith::event[11359]: Event: pre-backup-data backup-data
Apr 17 01:00:02 barracuda esmith::event[11359]: ===== Report for configuration backup =====
Apr 17 01:00:02 barracuda esmith::event[11359]: Backup started at 2019-04-17 01:00:02
Apr 17 01:00:03 barracuda esmith::event[11362]: Event: pre-backup-config
Apr 17 01:00:03 barracuda esmith::event[11362]: expanding /etc/backup-config.d/nethserver-sssd.include
Apr 17 01:00:03 barracuda esmith::event[11362]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.146185]
Apr 17 01:00:03 barracuda esmith::event[11362]: Action: /etc/e-smith/events/pre-backup-config/S20nethserver-directory-dump-ldap SUCCESS [0.041049]
Apr 17 01:00:03 barracuda esmith::event[11362]: Action: /etc/e-smith/events/pre-backup-config/S40nethserver-mail-shrmbx-cfgbackup SUCCESS [0.009793]
Apr 17 01:00:03 barracuda esmith::event[11362]: Action: /etc/e-smith/events/pre-backup-config/S40nethserver-sssd-backup-tdb SUCCESS [0.003403]
Apr 17 01:00:04 barracuda esmith::event[11362]: Action: /etc/e-smith/events/pre-backup-config/S50nethserver-backup-config-list-packages SUCCESS [1.556611]
Apr 17 01:00:04 barracuda esmith::event[11362]: Event: pre-backup-config SUCCESS
Apr 17 01:00:04 barracuda esmith::event[11359]: Event pre-backup-config: SUCCESS
Apr 17 01:00:05 barracuda esmith::event[11359]: Action backup-config-execute: SUCCESS
Apr 17 01:00:05 barracuda esmith::event[11488]: Event: post-backup-config
Apr 17 01:00:05 barracuda esmith::event[11488]: Event: post-backup-config SUCCESS
Apr 17 01:00:05 barracuda esmith::event[11359]: Event post-backup-config: SUCCESS
Apr 17 01:00:05 barracuda esmith::event[11359]: Backup status: SUCCESS
Apr 17 01:00:05 barracuda esmith::event[11359]: Backup ended at 2019-04-17 01:00:05
Apr 17 01:00:05 barracuda esmith::event[11359]: Time elapsed: 0 hours, 0 minutes, 3 seconds
Apr 17 01:00:05 barracuda esmith::event[11359]: Action: /etc/e-smith/events/pre-backup-data/S20nethserver-backup-config-predatabackup SUCCESS [2.53874]
Apr 17 01:00:08 barracuda esmith::event[11359]: Requested path not found
Apr 17 01:00:08 barracuda esmith::event[11359]: Action: /etc/e-smith/events/pre-backup-data/S20nethserver-restore-data-duc-index SUCCESS [2.830641]
Apr 17 01:00:08 barracuda esmith::event[11359]: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Apr 17 01:00:08 barracuda esmith::event[11359]: Action: /etc/e-smith/events/pre-backup-data/S50mysql-dump-tables FAILED: 1 [0.324735]
Apr 17 01:00:08 barracuda su: (to postgres) root on none
Apr 17 01:00:09 barracuda esmith::event[11359]: Action: /etc/e-smith/events/pre-backup-data/S50nethserver-webtop5-backup SUCCESS [0.77923]
Apr 17 01:00:09 barracuda esmith::event[11359]: Event: pre-backup-data FAILED
I’m at a loss to explain the “requested path not found” and I also have no idea why it is getting an access denied for user root message. Thinking it might be having problems mounting the NFS share, I plugged in a USB drive (ext4 formatted) and tried that instead. Failed again, with pretty well identical error messages.
Have I missed a step in the configuration? So far as I can see, I’ve set things up through the server-manager as they should be set. I can easily mount the NFS share from the command line, as I can the USB drive. The only thing I can see that I’ve not set up is a mount point on the local server, but I assume that should be done automatically by the backup routine?