22 lines
535 B
Text
22 lines
535 B
Text
|
|
On NAS16
|
||
|
|
|
||
|
|
Run this:
|
||
|
|
|
||
|
|
sudo tar -czf /tmp/fundtracker-current-$(date +%Y%m%d-%H%M%S).tar.gz -C /Kingdezignsnas16 fundtracker
|
||
|
|
|
||
|
|
Then:
|
||
|
|
|
||
|
|
sudo ls -lh /tmp/fundtracker-current-*.tar.gz
|
||
|
|
|
||
|
|
That gives us a snapshot without changing the application.
|
||
|
|
|
||
|
|
Then from your Linux desktop
|
||
|
|
|
||
|
|
From your desktop terminal:
|
||
|
|
|
||
|
|
scp rufusking@192.168.150.40:/tmp/fundtracker-current-*.tar.gz ~/Downloads/
|
||
|
|
|
||
|
|
If the wildcard doesn't work properly with scp, that's fine—we'll use the exact filename returned by the ls command.
|
||
|
|
|
||
|
|
Don't delete the archive from NAS16 yet.
|