1. Current Location: Home >  NAS >  Two Synology units are equipped together, using a vault as a warehouse, accidentally deleting photos and revisiting last week

Two Synology units are equipped together, using a vault as a warehouse, accidentally deleting photos and revisiting last week

Synology Mutual Backup Architecture Diagram: The old NAS is equipped with Hyper Backup Vault as a receiving warehouse, Hyper Backup pushes version versions, and rsync mirrors are backsynced

The

DS220j in the corner of the study has been gathering dust for over half a month. When I got a new NAS, it retired from my mom's house after a success, I brought back the old drive without removing a single one, and it's been sitting next to Feiniu ever since. I originally planned to sell second-hand, but I came across a transaction from two years ago: rsync for remote backups. A deletion command at my mom's house spread the virus, and the 40GB copy disappeared in no time. I only managed to get it back by taking a snapshot. There is no yesterday in the mirror; this is an inherent flaw of mirror backups. I've seen Hyper Backup on my cousin's external hard drive—it can copy versions. This time, don't let the old machine idle—turn it into a dated warehouse.

First, distinguish between two kits: warehouse manager and shipping staff don't install them in reverse

.

This setup requires two kits to work together, and the names are so similar it's confusing. The Hyper Backup Vault installed on the receiving machine is my retired DS220J. It acts as the warehouse manager, only registering receiving goods and not allowing anyone to mess with the shelves. Hyper Backup was installed on the one that shipped. My mom's family just replaced it with a DS220+. DSM comes with it and doesn't need to be installed separately; it handles packing, scheduling, and delivering the goods one by one.

The most common confusion is searching for Vaults worldwide at the source, so there's no need to look for them. Once you install and start the Vault on the receiving end, when creating a task on the shipping side, it will naturally be selected in the destination list. There's also the opposite pitfall: the receiver only installed the Vault and forgot to start it in the package, and no matter how the account and password were entered on the sender's side, connection failed, and a row of timeouts appeared in the log.

By the way, the DS220j is an entry-level model from 2020. With 512MB of RAM, running a heavy package like Photos is really tough. I upgraded for this back then, but it's more than enough to run Vault. Registering goods is much more brain-saving than looking at pictures.

Three steps on the receiving side: install the Vault, delete the power plan, and send a dedicated password

.

Step one: search for Hyper Backup Vault in the kit center, install it, open it, and enable backup services. That's all it takes. The real effort needed is the last two steps.

Step two: delete the power plan. This machine used to be a backup machine that worked exactly on time: 3:20 AM startup, 4:30 AM shutdown, 70 minutes of work per day, saving about 50 yuan in electricity bills per year. Now it's no longer possible; Hyper Backup runs all night, and the warehouse can't shut down. I deleted the power supply plan and switched to regular use. I accepted the electricity bill: 12.5 watts all day, about 60 yuan per hundred kWh a year. If you swap photos of my mom's home, there's a dated foothold—worth it.

Step three: Create a dedicated account—don't use admin to receive goods. As usual, I open separate accounts for FamilyMart. I created a dedicated backup account for this DS220J, with permissions only for reading and writing to a shared folder, nothing else. This account is meant to open a public network, with minimum permissions as the bottom line.

There's a hidden pitfall here that almost messed me up: for security, I set up two-step verification for this account, but my mom's house just couldn't connect, and Hyper Backup couldn't pass through the dynamic code interaction. Synology's solution is to generate a dedicated application password—in the Control Panel, User & Group, Edit This User, and two-step verification section, generate a dedicated password. The shipper fills in this string instead of the login password, and the two-step verification is still enabled.

Five steps for shipping: The destination section is the easiest to freeze

.

On my mom's DS220+, open Hyper Backup, add the plus sign in the bottom left, then select Data Backup Tasks. For the destination, select Remote Synology NAS, then fill in three things: my DDNS domain, port, the dedicated account and password I just mentioned. Then check the shared folder for the photo library, schedule it at 3:30 a.m. every day, keep version retention using smart settings—keep hourly for 24 hours, daily for a month, weekly for half a year, and monthly for a year. I went through this set when I paired my cousin with an external hard drive. The encryption option was checked too. The client's encrypted password was written down on two sheets of paper—one for the weak current box and one for the drawer. Even a god couldn't save it if it was lost.

The real hassle is the few spaces in front of the destination. First pitfall: QuickConnect IDs can't be filled. Hyper Backup's remote destination doesn't recognize QuickConnect. The official only two options are either DDNS plus port forwarding, or VPN tunneling. My home happens to have a genuine telecom public network, which was used to call 10000 back then. DDNS was already set up, the tagalong on the router is just right for us.

Second pitfall: port 6280, not the 5000 you expect. Hyper Backup connects to remote Synology via its own independent 6280 port, encrypted transmission is 6281, which is two separate doors from the DSM web backend 5000/5001. On the router, forwarding the usual port mapping, with the external high-level port used for anti-scanning, pointing to the internal 6280. There's an even more shady one: starting from DSM 7.2, the authentication port can no longer be changed. Some people use reverse proxies to change ports, directly disrupting remote backups, and forwarding them obediently to the 6280. For public network ports, remember to check the logs later, My router was scanned. The lesson from that memory — dedicated account, two-step verification, minimum permissions, all three gates are set up, so I don't panic.

I drove seven hours on the first night, then two to three minutes a day

. Let me explain the speed for

you first. My mom's photo library, including images and videos, is 96GB in total. Her broadband goes up 30 Mbps, which translates to just over 3 Mbps for uploads. On the first night, she ran all the data from 10 a.m. to 5 a.m. the next day. It's even a bit faster than I expected, because Hyper Backup compresses first and then wives, so photos can't be pressed, but video saves a bit.

From the second night onward, things changed. Each day, the incremental volume was only the changed blocks, around tens of trillion, and it took two or three minutes to finish. This is different from rsync's approach: rsync scans the entire directory tree every night, checking each timestamp and size one by one, < a href="https://www.shunot.com/en/nas/1016.html"> Back then, I was sorting it out for this purpose ; Hyper Backup keeps track of itself, only sending the changed blocks to the repository, and also removes duplicates across versions. The same photo is saved as one copy out of ten versions. By the way, during the phone change, I changed the destination for the Rsync task on Feiniu to my mom's new machine. The old link wasn't broken, but each did its own thing.

, and do nightly . . . can . space,
Compare items rsync, mirror Hyper Backup, add Vault
workScanning the entire directory to compare only the changed blocks
If accidentally deleted, will it cause infection? If deleted, just delete it No, the old version is still there
How long agoyou flip it? Only the current copy can be kept for a whole year according to the tier
It takes up 1:1copying, dededucing, and compressing, saving a bit

Digging up old issues for real-world testing: Return deleted videos to the version before deletion

.

Prepare for the third week—now it's time to test yourself. My mom deleted a family trip video as a duplicate file, pretending not to see it on my phone, and only started after finishing the backup the next day. She opened Hyper Backup, Restore, and Data, and reverted the version tree by date to the one from the day before deletion. She hooked that video clip and restored it to its original location. After about ten minutes, the video came back, and the new footage she filmed later was completely unaffected.

This interface is exactly the same as the one on my cousin's external hard drive. Hyper Backup's restore process will switch from one to another. There's also an account book on the warehouse side. On the DS220J, you can open the Vault and see how much space each source occupies and how many versions are saved in the destination usage section. When the space is almost full, it will even notify you in advance, which is more reliable than keeping the ledger myself.

Conclusion: Who is this set suitable for? Don't rigidly learn from one Synology

.

To be clear, the premise of having two Synology units is that you really own two models. For those who keep the old machine when swapping in or who have a house in both locations and keep one on each side, this set is made just for you, and the old machine's service life extends for several more years. If you only have one Synology, don't try hard: plug in an external hard drive and run the same Hyper Backup, my cousin has been using it for three months; The most important items are on Nut Cloud, free quota is enough to save and store it; For more refined options, retired hard drives are used as cold spares, and a follow-up every six months. Trying to mirror the entire FamilyMart computer is ABB's job, a different matter.

After reconciling, here's what my home looks like now: my mom's phone photos are stored on the DS220+, auto-backed up for two years; When I pushed it to my home, the DS220j was the second batch with a date; Plus, her RAID1 mirror on her machine is mutually mirrored, so there's a third copy too. The red line 3-2-1, I've been talking about for four years, finally not missing a single one. Here's the finishing order: first install the Vault on the receiving side, delete the power plan, and create a dedicated account; For the shipment end, select the remote destination for the re-creation task, and set the port forwarding to 6280; After running all nights and then deliberately deleting a file to try it out—if you don't get through this step, it's not a good match.

Read More


Copyright Notice Scan to read on mobile
All Rights Reserved: 《SHUNOT》 => 《Two Synology units are equipped together, using a vault as a warehouse, accidentally deleting photos and revisiting last week》
Article URL: https://www.shunot.com/en/nas/1205.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