Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
440 B
2
Indexable
Never
lab archive-review start

ssh student@serverb

su -


 mkdir /configsync

rsync -av root@servera:/etc /configsync

tar -czf configfile-backup-servera.tar.gz /configsync


 tar -tzf configfile-backup-servera.tar.gz

scp ~/configfile-backup-servera.tar.gz \
student@workstation:/home/student


mkdir /tmp/savedconfig

cd /tmp/savedconfig


tar -tzf ~/configfile-backup-servera.tar.gz


tar -xzf ~/configfile-backup-servera.tar.gz

ls -lR

 cd