Lab instructions update

This commit is contained in:
Z. Cliffe Schreuders
2024-10-05 21:24:50 +01:00
parent e56a7c73d6
commit 31e9bf4aea
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ Using SSH (secure shell), `scp` (secure copy) can transfer files securely (encry
==Backup your /etc/ directory to the backup_server== computer using `scp`:
```bash
sudo scp -pr /etc/ <%= $main_user %>@<%= $server_ip %>:/home/<%= $main_user %>/ssh_backup/
sudo scp -pr /etc/ <%= $main_user %>@<%= $server_ip %>:/home/<%= $main_user %>/ssh_etc_backup
```
> You will be prompted for your local password, to confirm the hosts fingerprint ("yes"), and the remote password (which is the same).
> This copy may take some time, feel free to open another terminal console (Ctrl-T), to read the scp man page while you wait.

View File

@@ -23,7 +23,7 @@ sudo bash -c 'echo hello > /etc/hello'
sudo rsync -av /etc /home/<%= $main_user %>/backups/rsync_backup/
```
Note that only the new file was transferred (incremental) to update our epoch (full) backup of /etc/.
Note that only the new file was transferred to update our epoch (full) backup of /etc/.
## Rsync remote copies via SSH with compression