Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Synology - delete or decrease file versions to free up disk space

Synology CloudStation file versioning uses a lot of space so how can I free up some space? How can I see how much space file versioning used?

like image 729
hoggar Avatar asked Nov 01 '17 10:11

hoggar


People also ask

What is taking up space on Synology NAS?

Recycle Bins of the shared folders: The deleted files will take up space unless you empty the recycle bins. Snapshot Replication: Even if the files are deleted, the past snapshots of them will still take up space. Docker: Some running packages can unexpectedly fill up your disk. The backup services before DSM 5.0.

What does Synology data Scrubbing do?

Data scrubbing is a data maintenance feature that amends or removes data in storage pools that are incorrect or incomplete. We recommend performing data scrubbing periodically to ensure data consistency and avoid data loss in the event of a drive failure.

What happens if I remove storage pool Synology?

All data in the storage pool will be deleted.

Can I shrink a Synology volume?

You cannot decrease the size of an existing volume. Instead, you can remove the existing volume and create a new one.


1 Answers

As an updated answer, now CloudStation is "Drive Admin Console". I am posting this answer just as an update and to also include some screenshots to assist anyone.


To see how much your versioning database takes up:

  1. Open Drive Admin Console
  2. Go to Overview
  3. Click on Calculate. The Used volume will show you exactly how much
    space file versioning takes.

Disk space used by file versioning


To disable versioning or reduce the number of versions Drive keeps

  1. Open Drive Admin Console
  2. Go to Team Folder
  3. Select your Shared folder, in this case My Drive
  4. Click on Versioning
  5. If you want to keep versioning, but with less versions, specify your desired Maximum Versions (2 would be enough for most cases, I think).
  6. If you want to disable file versioning, un-check Enable version control Disable or edit file versioning

To delete your current File Versioning database:

  1. Open Drive Admin Console
  2. Go to Overview
  3. Beneath your System status, click on Version Explorer
  4. From the folder list, select My Drive
  5. From the Actions button, select Clear version database
  6. As hoggar specified, the database size will take some time to transition to 0GB.

Delete version database


As a bonus, maybe you want to keep file versions for some files only, such as source code files, or scripts, or whatever

  1. Open Drive Admin Console
  2. Go to Settings
  3. In tab User Sync Profiles, click Create
  4. Specify a Name for the profile
  5. Specify a max file size, or leave 0 for unlimited
  6. Un-check all
  7. Check Others
  8. Specify your file extensions *.extension1, *.extension2, *.etc (example *.java), separated by commas
  9. Click Add
  10. Go to Applied User
  11. Check all users, or the ones you want to not version files
  12. Click Apply

Disable file versioning for certain file types and users

like image 61
George Avatar answered Oct 20 '22 13:10

George