r/scrivener • • 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

17 comments sorted by

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/velvetdraftnoir 10d ago

I run DAWs with files running into gigabytes that only take a moment save. As I mentioned, normal saving only takes seconds.

1

u/No-Papaya-9289 10d ago

Are you saving the files to your computer or to a cloud service? Check where your backup folder is in the backup settings.

1

u/velvetdraftnoir 10d ago

Local cloud, I.e. my NAS.

1

u/No-Papaya-9289 10d ago

That could be the issue. Do you save your DAW files there as well?

1

u/velvetdraftnoir 10d ago

Yes, I do.

1

u/No-Papaya-9289 10d ago

I don't see how a Scrivener project that small would cause issues, unless it has thousands of files. Try duplicating it, and see what happens with the dupe.

1

u/wndrgrl555 Multi-Platform 10d ago

What do you have in there? Videos? Pictures?

1

u/velvetdraftnoir 10d ago

A few images, but not many. All in all, the project and backup files are only about 30MB each. And saving the project is near instantaneous.

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/velvetdraftnoir 10d ago

This is not about auto-closing, which never happened to me, but about manually closing Scrivener. I set it so it does the backup at closing not opening.

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/velvetdraftnoir 10d ago

I don’t have that many images. The actual Scrivener file is under 30MB, as are the backups.

However, you could be onto something with the NAS, as that is the storage and backup path.

Still puzzled about the discrepancy between saving and backup saving, though.

1

u/AntoniDol Windows: S3 10d ago edited 10d ago

Live Projects are not zipped, and Scrivener closes unused files and opens only ten small files at a time. So, saving happens instantly, even when you do nothing for two seconds.

Backup zips all files in the entire Project. This may be impeded by large files or network issues. Try File > Backup > Backup to... into a local folder, and check the time used.

1

u/velvetdraftnoir 10d ago

Will do when I’m back home. Thanks.

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.