Phill Edwards
2016-05-26 11:45:11 UTC
I have rsnapshot set up to run daily, weekly and monthly backups. It's
working a treat, though I would like it to complete a bit quicker. One of
the longest steps is copying daily.0 to daily.1 As the log extract shows
below, nearly all of the initial folder shuffling is done with mv commands
which is very quick. But the generation of daily.1 is done by cp from
daily.0 which is slow.
[2016-05-26T05:10:08] /opt/bin/rm -rf /mnt/pme-nas2/Backups/daily.6/
[2016-05-26T05:20:53] mv /mnt/pme-nas2/Backups/daily.5/
/mnt/pme-nas2/Backups/daily.6/
[2016-05-26T05:20:53] mv /mnt/pme-nas2/Backups/daily.4/
/mnt/pme-nas2/Backups/daily.5/
[2016-05-26T05:20:53] mv /mnt/pme-nas2/Backups/daily.3/
/mnt/pme-nas2/Backups/daily.4/
[2016-05-26T05:20:53] mv /mnt/pme-nas2/Backups/daily.2/
/mnt/pme-nas2/Backups/daily.3/
[2016-05-26T05:20:53] mv /mnt/pme-nas2/Backups/daily.1/
/mnt/pme-nas2/Backups/daily.2/
[2016-05-26T05:20:53] /opt/bin/cp -al /mnt/pme-nas2/Backups/daily.0
/mnt/pme-nas2/Backups/daily.1
Why doesn't daily.0 mv to daily.1? Sorry if this is a bleedin' obvious
logic question, but I just don't get it at the moment.
working a treat, though I would like it to complete a bit quicker. One of
the longest steps is copying daily.0 to daily.1 As the log extract shows
below, nearly all of the initial folder shuffling is done with mv commands
which is very quick. But the generation of daily.1 is done by cp from
daily.0 which is slow.
[2016-05-26T05:10:08] /opt/bin/rm -rf /mnt/pme-nas2/Backups/daily.6/
[2016-05-26T05:20:53] mv /mnt/pme-nas2/Backups/daily.5/
/mnt/pme-nas2/Backups/daily.6/
[2016-05-26T05:20:53] mv /mnt/pme-nas2/Backups/daily.4/
/mnt/pme-nas2/Backups/daily.5/
[2016-05-26T05:20:53] mv /mnt/pme-nas2/Backups/daily.3/
/mnt/pme-nas2/Backups/daily.4/
[2016-05-26T05:20:53] mv /mnt/pme-nas2/Backups/daily.2/
/mnt/pme-nas2/Backups/daily.3/
[2016-05-26T05:20:53] mv /mnt/pme-nas2/Backups/daily.1/
/mnt/pme-nas2/Backups/daily.2/
[2016-05-26T05:20:53] /opt/bin/cp -al /mnt/pme-nas2/Backups/daily.0
/mnt/pme-nas2/Backups/daily.1
Why doesn't daily.0 mv to daily.1? Sorry if this is a bleedin' obvious
logic question, but I just don't get it at the moment.