Backup NAS542
QmpCP
Posts: 3
Freshman Member
Freshman Member
There is a problem with NAS542. I'm trying to backup 5 Tb data from NAS to Ubuntu Server via SSH:
- ssh -T -c [email protected] -o Compression=no -x [email protected] '(cd /i-data/sysvol/; tar cf - Resource | mbuffer -m 1024M | sudo tar xf -
But average speed is ~10 MB/s (~80 Mbit/s). iperf NAS with Ubuntu Server shows 850 Mbit/s.
If I mount Resource of NAS via cifs (smb) at Ubuntu Server, it starts faster but after time it starts copy one file (300 Kb) for 5 seconds. Used commands:
- tar cf - /mnt/NAS/Resource | mbuffer -m 1024M | (cd /home/backup/; sudo tar xf -)
- ls /mnt/NAS/Resource | xargs -n1 -P2 -I{} rsync -Pa "{}" /home/backup
Speed via SSH stable but slow. Speed via mounting resource high but only first time.
Is there any way to:
- Speed up SSH transfer or...
- Solve problem with speed comes to 0 via rsync/tar with mounting (smb/cifs)?
0
Accepted Solution
-
Really? Shame on me.I'll tell you a secret. The server part of MetaRepository is powered by (busybox) inetd. That was the result of the search for the smallest (in bytes) possible solution. And for some reason which I can't remember anymore I also added nc to the busybox binary. So by executing/i-data/sysvol/.PKG/MetaRepository/bin/busybox-metarepo ncyou'll have your nc. (Or create a symlink).Another option is to install Entware netcat. But that is a bit heavy for just installing nc.0
All Replies
-
Resource mounted by:
- sudo mount -t cifs //10.100.0.1/Resource /mnt/NAS/Resource -o username="backup",password="password"
0 -
I think the CPU of the NAS maxes out on encryption of a 80mbit stream. Try netcat instead.
0 -
Is there any way to add nc to NAS? Wasn't found it at RandomTools.
0
Categories
- All Categories
- 164 Beta Program
- 1.7K Nebula
- 86 Nebula Ideas
- 62 Nebula Status and Incidents
- 4.7K Security
- 236 Security Ideas
- 1.1K Switch
- 50 Switch Ideas
- 908 WirelessLAN
- 27 WLAN Ideas
- 5.3K Consumer Product
- 172 Service & License
- 294 News and Release
- 65 Security Advisories
- 14 Education Center
- 911 FAQ
- 399 Nebula FAQ
- 249 Security FAQ
- 90 Switch FAQ
- 100 WirelessLAN FAQ
- 18 Consumer Product FAQ
- 55 Service & License FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 68 About Community
- 51 Security Highlight
Consumer Product Help Center
FAQ
Guru Member