Strange rsync behavious
Ben Edwards
list4me2 at gmail.com
Sat Jul 29 19:56:44 UTC 2017
I am running 2 rsync commands , one after the other.
The first does a rsync over ssh to sync between a owncloud server and a
backup server:
rsync -v -a -H -i -L -e ssh --delete
--link-dest=/mnt/backup01/sun/var_www_owncloud/sun_oc_9999999999_current
user at domain.org:/var/www/owncloud
/mnt/backup01/sun/var_www_owncloud/sun_oc_1501355550_F_Sat_29Jul2017_2012
I then user rsync again to sync between the main backup drive
/mnt/backup01/ and the second backup /mnt/backup02/
rsync -aviH --delete /mnt/backup01/ /mnt/backup02/
Thing is when the first one changes verry little
07/29/17_20:12 backup(8517) receiving incremental file list
07/29/17_20:12 backup(8517) created directory
/mnt/backup01/sun/var_www_owncloud/sun_oc_1501355550_F_Sat_29Jul2017_2012
07/29/17_20:12 backup(8517) cd..t...... owncloud/database_backup/
07/29/17_20:12 backup(8517) >f+++++++++
owncloud/database_backup/owncloud-sqlbkp_20170729_1955.sql.gz
07/29/17_20:12 backup(8517) >f+++++++++
owncloud/database_backup/owncloud-sqlbkp_20170729_2010.sql.gz
07/29/17_20:12 backup(8517)
07/29/17_20:12 backup(8517) sent 11,815 bytes received 20,381,648 bytes
1,235,967.45 bytes/sec
07/29/17_20:12 backup(8517) total size is 412,002,742,657 speedup is
20,202.69
/mnt/backup01/sun/var_www_owncloud/sun_oc_9999999999_current
07/29/17_20:12 backup(8517)
The second seems to be deleting everything and then adding it back.
Any idea how to fix this?
Ben
--
*Ben Edwards, Video Editor and Cameraman*
*web*:*www.nkytwig.com* <http://funkytwig.com/>* mobile:**07773 02 44 82*
*skype**:**funkytwig** twitter:**@funkytwig*
<https://twitter.com/funkytwig>iContact Community Video
<http://www.icontactvideo.org/> | Bristol Community Channel
<http://bristol.mirocommunity.org/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20170729/fa44c82d/attachment.html>
More information about the ubuntu-users
mailing list