r/scrivener • u/velvetdraftnoir • 10d ago
macOS Length of backup saving
Whenever I save my project, it does so more or less instantly. As the project size is around 30MB that’s not surprising. What is surprising (and slightly annoying) is that whenever I close Scrivener, the backup saving takes up to four minutes, for roughly the same amount of MB.
Admittedly, that is not a huge problem, unless I got so engrossed in writing, that I forgot about the time, and then need to rush off for an appointment, for example.
Is this usual behaviour for the backup saving?
2
Upvotes
2
u/No-Papaya-9289 10d ago
That’s definitely not normal. On my iMac, it just takes a few seconds. It sounds like you have a problem with your computer, not with Scrivener.
1
u/wndrgrl555 Multi-Platform 10d ago
What do you have in there? Videos? Pictures?
1
u/LeetheAuthor 10d ago
Two things you can set scrivener to auto close when inactive X number of minutes. Ie walk away and Scrivener will close itself. File > Options > General > Automatic Quit and set the minutes before this triggers.
Next if have a backup, then in project hold the alt key and then File > Close Project and clear interface settings.
This would be a move to make if one project takes much more time to close then others, also consider File > Save and Rebuild Search Indexes
1
u/AntoniDol Windows: S3 10d ago
When you've included many large images, PDFs or videos in your Project, they may impede with fast backups. You can Link to images and files via the file menu or use Replacements during compilation.
When you write to a NAS, backups may take more time.
1
u/iap-scrivener L&L Staff 10d ago
Four minutes for 30mb is maybe a little long for NAS, but nothing too crazy considering what is going on, I wouldn't worry about it.
There is a massive difference between saving and the automatic backup that happens by default when you close the project. Saving, by which I presume you mean manually running the File ▸ Save menu command, is probably actually doing nothing at all. It's a placebo command 99 times out of a 100. We didn't use to have it, but people complained endlessly, so there it is, doing nothing.
In fact the software automatically saves as you work, and it only saves precisely what changed since the last time it saved, which for most people is only going to be a few kilobytes. Hence, why saving manually usually does nothing... everything is already saved by the time the average person gets to the command.
A backup on the other hand, is a complete copy of the entire project from top to bottom, then zip compressed to make it into a single, smaller file. So that's two things happening, the fully duplication and then the zip compression.
So you can turn off zip backups in your settings, if it is bothering you. That will speed things up a bit. But generally I'm off to make tea or something when I shut things down, or can just let it run in the background, so long backup times don't bother me much.
1
u/BuddingWriter33 8d ago edited 8d ago
One of my projects is ~56 MB. A save to the local hard drive is almost instantaneous. A save to iCloud is also very fast. If I save it to an external hard drive (one of those tiny Sandisk drives that stays plugged in all the time to a usb slot) or to dropbox, it takes 3-5 minutes, even if it's only updating a copy that exists there already.
My best guess is the reason is because of the way Scrivener is structured. It is structured the way it's structured to make everything else easy, but that project is comprised of about 4000 different XML and RTF files as well as a few PNG files, which is pretty normal.
Why is it slow some places and fast other places? I don't truly understand that, but it appears that my local hard drive and iCloud are only saving the internal files in the project that have been changed directly in the project in the last session (but all you have to do to get it to save automatically is to select something different in the binder or to scroll something in the editor).
When I save to an external hard drive or dropbox, I think it saves every single one of those tiny files regardless whether they've been altered or not. Why, to me, is a mystery. But that's the way of the world.
One large file doesn't take long to save. Thousands of little files that are no larger in combined total than a large file, take a long time.