I have a Nethserver 7.4 set up with incremental backup but it does a full backup every time.
The logs are clean, no errors.
Once the backup is done, write the result on a file to understand that the next must be an incremental?
Is it possible that the problem is there?
Hi @RiccardoC,
with config show backup-data
you may check your settings. To which destination do you backup?
This is an example config for backup to smb share:
backup-data=configuration
BackupTime=22:25
CleanupOlderThan=7D
FullDay=0
LogFile=/var/log/last-backup.log
Mount=/mnt/backup
NFSHost=
NFSShare=
Program=duplicity
SMBHost=192.168.67.232
SMBLogin=
SMBPassword=
SMBShare=backup
Type=incremental
USBLabel=
VFSType=cifs
VolSize=250
WebDAVLogin=
WebDAVPassword=
WebDAVUrl=
notify=error
notifyFrom=some@mail
notifyTo=some@mail
status=enabled
Yes, shell parameters coincides with web interface.
Type is incremental.
I backup to NAS (cifs)
And you only get duplicity-full
and no duplicity-inc
files?
With backup-data
you can start the backup for testing.
In /var/log/last-backup.log
you should see the last full backup date:
Last full backup date: Sun Feb 25 22:25:19 2018
Some docs about the backup:
http://docs.nethserver.org/en/v7/backup.html
http://docs.nethserver.org/projects/nethserver-devel/en/v7/nethserver-backup-data.html
http://duplicity.nongnu.org/
Yes, only duplicity.-full.
The log say:
Last full backup date: none
Last full backup is too old, forcing full backup
But last backup is full too… So seems unable to find it.
My question is:
Where Backup-data read last full backup executed?
Nas 28-02-2018:
Nas 27-02-2018:
Config:
Duplicity files are cached in /var/lib/nethserver/backup/duplicity/
.
http://docs.nethserver.org/projects/nethserver-devel/en/v7/nethserver-backup-data.html#duplicity
Duplicity checks if the full backup exists, do you move the backuped files away from the share?