BASH   76

network recipes

Guest on 12th May 2022 10:11:09 AM

  1. - make full backup directly over network (slice not possible)
  2. dar -m 256 -y  -D -R /home/me -c -\
  3.   -Z "*.gz" -Z "*.bz2" -Z "*.zip" -Z "*.png" \
  4. | ssh user@myserver "cat > /home/me/bak.1.dar"
  5.  
  6. - create catalogue directly on server from home computer
  7. ssh me@myserver "dar --no-warn -A /home/me -C /home/me/catalogue"
  8.  
  9. - copy catalgoue to home computer
  10.  
  11. - create diff using catalogue (on home computer only, haven't
  12. figured out, how to do it directly over network)
  13.  
  14. dar -m 256 -y -D -R /home/me -c me`date -I`_diff \
  15.  -Z "*.gz" -Z "*.bz2" -Z "*.zip" -Z "*.png" -A catalogue

Raw Paste


Login or Register to edit or fork this paste. It's free.