From ba35a10a1ec79aa71d980b9bf298bf7c8d6d823d Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawn4bbuawnh-nSo9pAh8irYAcV4MQCcfdHo" Date: Tue, 18 Sep 2012 00:11:50 +0000 Subject: [PATCH] Added a comment --- ..._2a389f01eb5131042ea1e71a73c9787a._comment | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 doc/forum/Don__39__t_understand_how_to_delete__47__recover_files/comment_7_2a389f01eb5131042ea1e71a73c9787a._comment diff --git a/doc/forum/Don__39__t_understand_how_to_delete__47__recover_files/comment_7_2a389f01eb5131042ea1e71a73c9787a._comment b/doc/forum/Don__39__t_understand_how_to_delete__47__recover_files/comment_7_2a389f01eb5131042ea1e71a73c9787a._comment new file mode 100644 index 0000000000..ecc159641e --- /dev/null +++ b/doc/forum/Don__39__t_understand_how_to_delete__47__recover_files/comment_7_2a389f01eb5131042ea1e71a73c9787a._comment @@ -0,0 +1,21 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawn4bbuawnh-nSo9pAh8irYAcV4MQCcfdHo" + nickname="Stefan" + subject="comment 7" + date="2012-09-18T00:11:50Z" + content=""" +cd /mnt/data/annex/ && +/usr/bin/git annex sync && +/usr/bin/git annex copy --auto --to usbdrive && +cd /mnt/usb1/annex/ && +/usr/bin/git annex sync && +echo \"synced\" || +echo \"backup of annex failed\" | sendxmpp -t name@server.country + + +ok suprisingly that did not only sync the files but also did remove the file, so you dont need a pull... dont know what I did wrong the other times I tried, does maybe the copy command also \"copies\" the delete commit? + +but annyway that works for me... (for now I do the dropunused command manuelly...) + +that should work as cronjob... +"""]]