1. Current Location: Home >  NAS >  Synology HyperBackup plugged into the hard drive, accidentally deleted files, and went back to last week

Synology HyperBackup plugged into the hard drive, accidentally deleted files, and went back to last week

Synology Hyper Backup versioned backup: mirror synchronization and save point comparison, intelligent version preservation of settings

Last month, my cousin's four-drive Synology lost a disc. RAID1 held on without losing data, but he was scared awake—the disc can be bought again, but the photos my family had saved over the years are really gone. After half a month of shouting 'I'll back up later,' I just didn't do anything. In the end, I couldn't stand it anymore and had him buy a 2TB external hard drive for 279 yuan. On the day the package arrived, I came to my door to get it, using Synology's built-in Hyper Backup, with no third-party devices installed. After configuring it, I had him delete a folder on the spot and retrieve it from the backup. Only after this trip did he truly understand how this thing differs from "copying files to an external hard drive."

To be clear: copying directly to an external hard drive is not called a backup

My cousin's original plan was very simple: drag the entire photo folder onto the external hard drive on weekends, and that was it. This is the first reaction of ninety percent of people, and it's also the trick that most easily spoils the dish. The copy you copy in will always be in this state of "today." On Monday, I accidentally deleted the folder, and on Tuesday I remembered to check the external hard drive—the drive was copied last Sunday, and all the newly photographed photos from the past two days were gone. If you copy and then clean the NAS as well, those two sources will be left with only one copy left, and neither can save the other.

I've suffered this loss myself. Two NAS devices at home are synchronized using rsync. Synchronization means both sides look exactly the same: one end deletes, the other ends delete. Once, I accidentally deleted a 40GB folder, and the backup machine across from me faithfully synced the deleted files that night. If it weren't for the Btrfs snapshot pulling it out, those files would have been really resolved. I wrote about this in the article two NAS backing up in different locations. Simply put, synchronization is like a mirror; yesterday will never be reflected in the mirror.

Hyper Backup does something else: each backup saves a "save point," and each save point is independent of each other. Last Thursday you saved one file, today you saved another, you deleted the file on the NAS, but last Thursday's save didn't budge at all. It's not just about preventing market failures, but also about your own slipped hands—and honestly, the number of slips is far greater than the number of times your hand is broken. The RAID controller was broken and couldn't be managed by mistake, so this account < a href="https://www.shunot.com/en/nas/742.html"> The post on how to back up safely had already been calculated, and my cousin's RAID1 machine still ran naked for a whole month.

Step 1: Choose the right external hard drive; don't worry about the format

and categorized into two categories. 2.5-inch laptop mechanical drives or solid-state external drives can be operated directly via USB ports, ready to use as soon as plugged in; A 3.5-inch desktop drive must be paired with a dedicated 12V power enclosure. Relying solely on the USB port current isn't enough, and the power supply is unstable. I < the article about inserting an external hard drive into a NAS href=">https://www.shunot.com/nas/1070.html". I look for boxes with power adapters before buying. My cousin has about 180GB of data, so I told him to go straight for 2TB. It's more than enough to fit the data itself, but you also need to leave room for future versions—the experience value starts at 1.5 times the backup data volume.

No need to worry about formatting. Synology recognizes external drives like Btrfs, ext4, NTFS, and exFAT, so there's no barrier to writing Hyper Backup inside. One thing to note: the content written in the backup is its own dedicated format; the disk format itself doesn't really matter. The real consideration is only when you want to use the drive to do other tasks on your Windows computer.

Create the first task: from the plus sign to the run, five steps

Hyper Backup is pre-installed in DSM7; just glance at the kit center and open it directly. Step one: Click the "+" in the lower left corner, select "Data Backup Task." The newer firmware line is called "Folder and Software Package," which are the same thing. Step two: Select the destination type as "Local Folder and USB." The plugged external hard drive will be listed. Select it and let it automatically create a backup directory on the drive. Step 3: Check the shared folder you want to prepare. My cousin's house checked both the photo and family documents folders, but I didn't let them check any movie download folders—those things break and can be reinstalled, and keeping them is just a waste. Step four: schedule every day, set the time at 3:30 a.m., when no one is using the NAS and the hard drive is idle. Step 5: In the backup settings, check "Enable transfer encryption" and click Done. It will start running the first full data automatically.

The first full dose is the slowest. My cousin's 180GB drive, 2.5-inch USB 3.0 drive was about 90MB/s in actual tests, and it took nearly forty minutes. From now on, only the changes are sent at midnight every day. The auto-backup of photos on his phone costs only one or two GB per day, and the increase only takes two or three minutes. You sleep, you sleep, and it does its job.

Do not copy the default values for version retention policies

After completing a task, there's a spot worth checking manually: how to keep the version. The default mode is customizable, with up to 32 versions. Sounds like a lot, but counting on fingers—one version per day, 32 versions means over a month, and it doesn't remember a world from a month ago. If you had changed a document and tried to look like it was three months ago, it wouldn't have worked.

Switching to "Smart Version Retention" is much more flexible; it automatically thins out by time and distance:

inside? ; ; one per day for one month fee , and one
How far away from now, how close can you stay
Within 24 hours, one copy per hour
one per day to one month
to six months, once a week
One monthlyfor 6 months to 1 year
per year for those beyond the first year

My

cousin's daily backup schedule actually is: for the past month, there are files to review every day; before that, one every week; before that, one every month. Things from a year ago are all remembered for you. Moreover, Hyper Backup is incremental and deduplicated. The same file is only saved in one copy out of thirty versions, and only new blocks are added when changed—my cousin's 180GB saved for about a month, but the disk only took up a little over 190GB, not the intimidating 180 times thirty files. Removing duplicates saves the unchanged parts. For photos that have already been pressed, don't expect to shrink them further.

Return to practice: I asked my cousin to delete a folder

On the day I finished editing, I asked my cousin to delete the entire folder of "2021 Old Photos" and empty the recycle bin, creating a classic accidental deletion. Then, in Hyper Backup, click the restore icon in the lower left corner, select "Data," and a version tree will appear in the middle of the interface. Rewind the time to the previous version, and below is the complete directory structure backed up that day. Check "2021 old photos," choose to restore to original location, and within minutes, the folder is back to normal, with no change in the photo modification dates. Compared to the snapshot in the accidental deletion self-rescue post, this system is not particular about file systems and doesn't require you to know any commands—just press the remote all the way down.

There's an even easier trick: unplug the external hard drive and plug it into your computer, install Synology's official free Hyper Backup Explorer, open the .hbk file on the drive, use the graphical interface to browse the directory, right-click and export whichever file you pick, and the NAS won't even need to turn on. This trick is perfect when the NAS is completely in trouble—the machine is gone, the backup drive is still there, and the data remains.

I'll mention the three pitfalls in advance, and here's a checklist

Pitfall 1: The backup drive does not show the actual photo itself. Hyper Backup writes to the disk in its own dedicated format. When you dig in the file manager, you'll only find a lump of directories you can't understand. If you want to dig up content, use the Explorer mentioned above. Don't be reckless in deleting anything inside—deleting a single block could ruin the entire version. Pitfall 2: It's normal to be slow the first time. Don't be fooled by the slow progress bar—just start over and start over from the beginning. Pitfall three, and the easiest to let go of: the drive is always stuck on the NAS, which gets struck by lightning or is blackmailed. This drive lives and dies together. Truly valuable photos, archived again on a cold disk every few months. I wrote the procedure in the cold backup post. The two sets complement each other, not choose one or the other.

One more point about boundaries: Hyper Backup is for the folder level, managing "the historical versions of a specific folder." If you want to mirror the whole computer along with the system, you need to use another set of Active Backups from Synology. I wrote in that article < how to set up a whole backup >a href="https://www.shunot.com/en/nas/942.html"—one manages files, the other manages the whole system. Many people run both.

? , . in remote locations for fire prevention . The
What should you do in your situation
If you just want to keep your family's photos, documentsexternal hard drive + Hyper Backup, spare them daily, smart preservation
If you're worried about your NAS being blackmailed, don't keep the backup drive in too often. After use, it pops up and goes to the drawer, and important data is put in cold storage
If you want to place backupspurposes and switch to remote NAS or cloud servers, do not perform other tasks
entire system should also be mirrored with an Active Backup, running parallel with Hyper Backup

Here's a wrap-up

sequence: buy the right disk to × 1.5 capacity, set up the task in five steps, keep the version and switch to a smart file, then do a deletion and recovery drill in front of your family—don't skip this step, only press the restore button for the first time when something really happens, your hands will shake. My cousin now brags to everyone that he can retrieve last month's photos, even though I forced him to delete that folder.

Read More


Copyright Notice Scan to read on mobile
All Rights Reserved: 《SHUNOT》 => 《Synology HyperBackup plugged into the hard drive, accidentally deleted files, and went back to last week》
Article URL: https://www.shunot.com/en/nas/1202.html
Unless otherwise stated, all articles are original by 《SHUNOT》. Reposting is welcome! Please indicate the original URL when reposting, thank you.

Contact Us

Online Consultation: Click here to send me a message

WeChat ID: master_135

Scan to follow