JamieKitson Posted September 2, 2014 Report Share Posted September 2, 2014 Hi,on my Linux install of BTSync, in my phone camera backup directory most of the files are in the .sync/Archive directory. What is this for and why are they in there?Thanks, Jamie Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted September 2, 2014 Report Share Posted September 2, 2014 Please take a few moments to read the Unofficial FAQ: .SyncArchive (pre 1.4) / .sync/Archive (1.4+) = BitTorrent Sync, by default, won't actually delete any of your files/folders. If a corresponding file/folder is deleted on another device, it will simply be "moved" into the .SyncArchive folder on all other devices, rather than being permanently deleted. (In Sync pre v1.1.40, this folder was named .SyncTrash and was later renamed to .SyncArchive as this folder now stores both local files deleted on remote devices, as well as "versioned" files. From Sync 1.4 onwards, this folder has again been renamed to .sync/Archive) Quote Link to comment Share on other sites More sharing options...
JamieKitson Posted September 2, 2014 Author Report Share Posted September 2, 2014 Thanks, but the files in the Archive directory haven't been deleted from my phone. Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted September 2, 2014 Report Share Posted September 2, 2014 Thanks, but the files in the Archive directory haven't been deleted from my phone. Precisely - that's because they will have been deleted from one of your OTHER devices! "If a corresponding file/folder is deleted on another device, it will simply be "moved" into the .SyncArchive folder on all other devices, rather than being permanently deleted"For example, if you have 3 devices, A, B, and C, and physically delete a file from B, the matching file on both A and C will be moved into the "archive" folder of A and C respectively. Quote Link to comment Share on other sites More sharing options...
JamieKitson Posted September 2, 2014 Author Report Share Posted September 2, 2014 I only have two devices syncing currently. Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted September 2, 2014 Report Share Posted September 2, 2014 I only have two devices syncing currently. Ok, so if we name your two devices A and B: If you physically delete a file from A, the corresponding file on B will be moved into the "archive" folder on B, rather than be deleted outright If you physically delete a file from B, the corresponding file on A will be moved into the "archive" folder on A, rather than be deleted outright Quote Link to comment Share on other sites More sharing options...
JamieKitson Posted September 2, 2014 Author Report Share Posted September 2, 2014 I haven't deleted the files on either device. Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted September 2, 2014 Report Share Posted September 2, 2014 I haven't deleted the files on either device. Have you made changes to them? "versioned" files are also stored in archive folders along with "deleted" files. Quote Link to comment Share on other sites More sharing options...
JamieKitson Posted September 2, 2014 Author Report Share Posted September 2, 2014 There are 57 files in the "live" directory, 178 in the Archive directory, and 7 files which are common across both. It is possible that I have modified some of these 7 files, but I'm sure some of those 7 I haven't modified. I now notice too that some of the files in the Archive driectory are duplicates and end in .1.jpg or even (2).1.jpg Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted September 2, 2014 Report Share Posted September 2, 2014 I now notice too that some of the files in the Archive driectory are duplicates and end in .1.jpg or even (2).1.jpgFiles in your archive named file.1.ext, file.2.ext, file.3.ext, etc are "versioned" files of the original file.ext files Quote Link to comment Share on other sites More sharing options...
JamieKitson Posted September 2, 2014 Author Report Share Posted September 2, 2014 In that case I think there might be something wrong with the WP client as I certainly haven't changed many of these files. Quote Link to comment Share on other sites More sharing options...
Markus Janhunen Posted January 18, 2015 Report Share Posted January 18, 2015 To me, this does not sound good. What is the idea of this archiving?I have not seen an option to view previous versions or other uses for it. If I have big files that are temporary, or use syc to transfer files from one mac to another, now this ends up with a huge invisible archive. Can one turn this option off? Does the archive have some kind of size / time limit, or does it just keep growing? Quote Link to comment Share on other sites More sharing options...
trevellyan Posted January 18, 2015 Report Share Posted January 18, 2015 http://help.getsync.com/customer/portal/articles/1627229-guide-to-ui-folder-preferences- Quote Link to comment Share on other sites More sharing options...
phneutral Posted February 24, 2015 Report Share Posted February 24, 2015 When I disable BTSync from moving deleted files to the Archive folder, will they be deleted? Or stay under different names in the actual folder? Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted February 24, 2015 Report Share Posted February 24, 2015 When I disable BTSync from moving deleted files to the Archive folder, will they be deleted? Or stay under different names in the actual folder? They will be deleted Quote Link to comment Share on other sites More sharing options...
makapav Posted February 20, 2017 Report Share Posted February 20, 2017 To anyone starting out - please DO NOT disable Archiving. There are quirks that without intention (using across Android nVidia Shield TV have caused my source files (to the tune of 700GB) converted to 0KB files. Through accident I found the .sync folder (just before I was going to Google) and was able to restore all my files. God bless the soul of whoever thought it was a good idea to enable Archiving instead of deleting by default. I have still not been able to figure out why the source files were changed to 0KB files. This has already happened twice however there is nothing else that give me 20MB/s speeds and the consistency of Reslio so I am stuck with it for now. Personally, I have made the sync one-way only for now so that source files are not be modified. I strongly suggest, that you leave Archiving and perform a manual cleanup of the folder for a few weeks of continuous syncing so that you have enough test cases for any quirks that may set in. Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted February 21, 2017 Report Share Posted February 21, 2017 11 hours ago, makapav said: I strongly suggest, that you leave Archiving and perform a manual cleanup of the folder for a few weeks of continuous syncing so that you have enough test cases for any quirks that may set in. You don't need to "perform a manual cleanup" of the archive folder - there's a setting in Sync (sync_trash_ttl) that automates this. By default, files will persist in the archive for 30 days, but you can increase/decrease this to suit your particular needs Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.