How to back up a Synology NAS with IDrive

I love my Synology NAS, and have all kinds of data on it: photos, movies, synced folders and backups of my other systems. The one thing it doesn’t do is handle off-site backup. Many people choose to buy a second Synology and put it at a friend’s house or some other off-site location, which is a great strategy, but not practical for me. Instead, I like IDrive, simply because there’s nothing else I know of that can hit the price point of ~$100/yr for 10TB.

The problem is, it’s not nearly as plug-and-play as C2 or other HyperBackup target options. The first time I set it up, I selected the couple most important folders as a basic start but I was greeted with a “350TB” backup set. Note that my NAS only has about 4TB consumed on it. That simply wouldn’t do.

Short Version: Go to “preferences” in the dropdown at the top-right of the IDrive synology web interface, and click on the “Exclude” tab. Add “#recycle” and “#snapshot” to the “partial names” pane. If you use Active Backup for Business, you should also only back up the “@ActiveBackup” directory, and NOT the “ActiveBackupData” directory.

The two key systems on DSM that can result in massive apparent backup jobs are Btrfs snapshotting and Active Backup for Business’ versioning system.

Btrfs snapshots allow you to freeze-frame the filesystem as frequently as you like, and subsequent changes simply add to the existing data. Space can be freed up by deleting snapshots, which releases for reuse any space on disk required by only that snapshot.

By default, snapshots are transparent and simply copy/pasting the whole folder will miss any snapshots entirely. However DSM allows exposing snapshots in a “#snapshot” folder at the root of a share, which contains a list of folders named by the timestamp of the snapshot.

If IDrive is allowed to back up this special directory, it’ll massively multiply the backup set file size.

Similarly, “ActiveBackupData” is full of “virtual” files representing the backed up data at the time of each job run with no apparent deduplication, while all the underlying data lives in “@ActiveBackup”.

Instead of backing up the virtual files, the proper strategy is, in the event of a recovery, restore the “@ActiveBackup” directory and then “relink” that directory in ActiveBackup storage settings, per this guide: https://kb.synology.com/en-us/DSM/tutorial/How_to_backup_and_relink_Active_Backup_for_Business_with_DSM_backup_packages

8 Comments

  1. Brian Baker
    February 19, 2024

    What plan are you using with IDrive? I have been using Hyper Backup with Backblaze’s B2 storage, but it’s been getting past $40/month lately which feels pricey for personal backup. It looks like IDrive also offers S3 compatible storage which might make for an easy transition, but not really much cheaper.

  2. February 19, 2024

    I’m using IDrive Personal, hence needing to do the file-based backup with their synology package. The S3 compatible storage you could use with HyperBackup would be convenient, but yeah, its a lot pricier. Personal is $150/yr for 10TB which seems like a decent deal in the first place, but they also constantly run promotions. The first year, I got the 5TB tier for $5, then the second year it was about to renew at list price but they had another “upgrade to 10TB for just $5 for the year!” Since then I’ve been paying $100/yr for 10TB which is still some grandfathered promotion, and the S3-compatible product is 5x as expensive.

  3. June 13, 2024

    The trick of excluding ActiveBackupData really saved my day. Thanks!
    BTW, as iDrive doesn’t support deduplication [1] and time travel, an idea is to attach an external USB HDD as HyperBackup destination, and sync that USB HDD to cloud (iDrive in this case).

    [1] I’ve searched the web, a NYTimes article says it supports deduplication for accounts created after Sept 22, 2021, but I can’t find any other reference. The NYTimes article link is at https://www.nytimes.com/wirecutter/reviews/best-online-backup-service/

  4. June 13, 2024

    Thanks @matthew!

    My understanding is that my iDrive account DOES support deduplication, and it seems to me like the deduplication inherent in ActiveBackup should be taking care of me as well. But I’d be interested to try your way. I know I seem to have a highly variable backup job. Even if I don’t do much of anything on my laptop but it’s alive for the first night in a week for its ActiveBackup, it seems like the next idrive job is quite a bit larger than “stuff that changed on my laptop.” Maybe if I do the hyperbackup intermediary that’d be less of an issue (and restore more straightforward too!)

    I’d kind of been discounting it based on scale but I guess the external doesn’t have to be as big as my NAS, just as big as my backup.

  5. francesco
    September 16, 2024

    Hi everyone
    I’m new to synology and the world of backup. I have both synology ds224+ and idrive personal plan. First, thanks for the guide. I wanted to know what you think of the method I have in mind: Instead of backing up every single folder as you described, wouldn’t it be preferable to back up the NAS with Active Backup for Business and then copy the contents of the backup to idrive in order to be able to use the restore function of Active Backup for Business. Could it work in your opinion? is this a better solution? thanks ps I use google translator so I hope the message is understandable

  6. francesco
    September 16, 2024

    I think I have verified that what I indicated in the previous comment cannot be done. At this point I tried to exclude the folders by inserting the names “#snapshot” #recycle” etc.. but it doesn’t work. I necessarily have to exclude them manually. I also tried removing the # symbol or writing the word without the last letter. Unfortunately, every time iDrive recalculates the space I find myself with 34TB compared to the actual 2TB. Do you have any advice?

  7. September 16, 2024

    > Unfortunately, every time iDrive recalculates the space I find myself with 34TB compared to the actual 2TB. Do you have any advice?

    Since you’re using Active Backup for Business, pay attention to the line right below the one about #snapshot and #recycle: “If you use Active Backup for Business, you should also only back up the “@ActiveBackup” directory, and NOT the “ActiveBackupData” directory.”

    As for your strategy, I’m not sure what you’re proposing. “back up the NAS with Active Backup for Business and then copy the contents of the backup to idrive in order to be able to use the restore function of Active Backup for Business.” – to what medium? Where is that backup going, before iDrive?

  8. francesco
    September 17, 2024

    Hi thanks for the reply. Regarding the exclusion of the recycle snapshot and ActiveBackupData folder names it does not work. After entering the names of the folders to exclude, idrive continues to add these folders to my backup. I wrote to support but for now they are not solving my problem. even if I try to exclude the folders manually it doesn’t work. I’m using my synology user account. I don’t have to use the admin account right? Regarding the backup of DMS with ActiveBackup I understood that it cannot be done. I thought I could use activebackup by creating a task like for PC/MAC then create a backup of the entire NAS. This option is only possible if you have another synology NAS. I thought I could always create a backup on my synology and then move the contents of that backup to idrive. What’s driving me crazy right now is that idrive doesn’t ignore snapshot recycle folders etc. unless I manually exclude them. this is very inconvenient. Let’s hope support can help me. has this ever happened to you? could it be some permission missing on my synology user account?

Leave a Reply

Your email address will not be published. Required fields are marked *