I backup online servers using FTP and SFTP. I locally copy remote files if away or newer than local files.
But for a huge folder tree (e.g. PrestaShop img/p folder), it may takes more than 10 hours to see all folders, and if it fails during comparing, I have to start again...
My proposal:
- Launch Compare
- It compares first file found
- If file is away/newer locally, copy locally
- It compares second file
- If it stops, first file is already compared and eventually copied.
May you think it's something possible/complicated?
Sync while comparing
- Posts: 1
- Joined: 21 Jun 2023
- Posts: 4056
- Joined: 11 Jun 2019
Compare and sync are two separate stages in FFS. A full compare must run before a sync can start. You may look into breaking the single sync into many subsets of data, then compares would be quicker. I would also look into why the compare would fail in the first place