From 31e9bf4aea2104f51664f084367d0a3b9c73ef11 Mon Sep 17 00:00:00 2001 From: "Z. Cliffe Schreuders" Date: Sat, 5 Oct 2024 21:24:50 +0100 Subject: [PATCH] Lab instructions update --- .../hackerbot_config/backups/templates/cp_ssh.md.erb | 2 +- .../hackerbot_config/backups/templates/rsync.md.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/generators/structured_content/hackerbot_config/backups/templates/cp_ssh.md.erb b/modules/generators/structured_content/hackerbot_config/backups/templates/cp_ssh.md.erb index 112b75341..036bb8ea3 100644 --- a/modules/generators/structured_content/hackerbot_config/backups/templates/cp_ssh.md.erb +++ b/modules/generators/structured_content/hackerbot_config/backups/templates/cp_ssh.md.erb @@ -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. diff --git a/modules/generators/structured_content/hackerbot_config/backups/templates/rsync.md.erb b/modules/generators/structured_content/hackerbot_config/backups/templates/rsync.md.erb index 4dd9f6877..a71baa1ef 100644 --- a/modules/generators/structured_content/hackerbot_config/backups/templates/rsync.md.erb +++ b/modules/generators/structured_content/hackerbot_config/backups/templates/rsync.md.erb @@ -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