Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rsync da win
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
funkoolow
Guru
Guru


Joined: 21 Sep 2004
Posts: 545
Location: er paese delle anguille

PostPosted: Sun Nov 27, 2005 12:48 pm    Post subject: rsync da win Reply with quote

salve gente,

per farmi i backup di alcuni miei files che tengo su una partizione su sistema windows, ho montato tale partizione su una dir del server con
Code:
mount -t smbfs -o username=blabla,password=blabla,ro //192.168.0.10/BACKUP /mnt/temp-BACKUP


poi faccio fare l'rsync con
Code:
rsync -av --delete --delete-after /mnt/temp-BACKUP/ /mnt/bak-winxp/BACKUP/


in effetti va quasi tutto bene, tranne che durante il syncing viene cancellato in maniera totalmente random qualche file di troppo nella dir dove avviene lo storing dei dati di backup.. in altre parole, la voce --delete dovrrebbe cancellare solo i files che sono stati rimossi dalla dir originale, ma lui mi cancella anche files che in effetti sono ancora presenti. Così per risolvere mi tocca fare più volte il sync, finchè non mi viene cancellato più nessun file, però non è che mi sembri la soluzione più elegante... Capita a qualcun'altro? Ci sarebbe una soluzione, a parte quella di mandare dove merita tutto ciò che concerne chi sappiamo noi (me permettessero le mie capacità...... )?
_________________
SabaziaLUG: il LUG a nord di Roma
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum