diff --git a/restic/restic-rest-server/export-home-akanealw.sh b/restic/restic-rest-server/export-home.sh similarity index 85% rename from restic/restic-rest-server/export-home-akanealw.sh rename to restic/restic-rest-server/export-home.sh index 336cc2c..bbe654c 100755 --- a/restic/restic-rest-server/export-home-akanealw.sh +++ b/restic/restic-rest-server/export-home.sh @@ -1,4 +1,4 @@ #!/bin/bash export RESTIC_PASSWORD="8ung1e1!" -export RESTIC_REPOSITORY="rest:http://192.168.1.51:8000/changemepls/home/akanealw" +export RESTIC_REPOSITORY="rest:http://192.168.1.51:8000/changemepls/home" diff --git a/restic/restic-rest-server/install-restic-rest-server.sh b/restic/restic-rest-server/install-restic-rest-server.sh index 271030e..4bf9a5f 100755 --- a/restic/restic-rest-server/install-restic-rest-server.sh +++ b/restic/restic-rest-server/install-restic-rest-server.sh @@ -6,7 +6,7 @@ mv /root/scripts/restic/export*.sh /root/scripts/restic/older-scripts/ > /dev/nu mv /root/scripts/restic/restic*.sh /root/scripts/restic/older-scripts/ > /dev/null 2>&1 wget -q http://192.168.1.50/scripts/restic/restic-rest-server/restic-rest-server-backup.sh -P /root/scripts/restic wget -q http://192.168.1.50/scripts/restic/restic-rest-server/export-etc.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-rest-server/export-home-akanealw.sh -P /root/scripts/restic +wget -q http://192.168.1.50/scripts/restic/restic-rest-server/export-home.sh -P /root/scripts/restic wget -q http://192.168.1.50/scripts/restic/restic-rest-server/export-opt.sh -P /root/scripts/restic wget -q http://192.168.1.50/scripts/restic/restic-rest-server/export-root.sh -P /root/scripts/restic wget -q http://192.168.1.50/scripts/restic/restic-rest-server/restic-rest-server-init.sh -P /root/scripts/restic diff --git a/restic/restic-rest-server/restic-rest-server-backup.sh b/restic/restic-rest-server/restic-rest-server-backup.sh index 232db07..352db7b 100755 --- a/restic/restic-rest-server/restic-rest-server-backup.sh +++ b/restic/restic-rest-server/restic-rest-server-backup.sh @@ -3,9 +3,9 @@ export RESTIC_PASSWORD="8ung1e1!" # backup /home/akanealw -export RESTIC_REPOSITORY="rest:http://192.168.1.51:8000/changemepls/home/akanealw" +export RESTIC_REPOSITORY="rest:http://192.168.1.51:8000/changemepls/home" restic unlock -restic backup /home/akanealw --no-cache -v +restic backup /home --no-cache -v restic unlock restic forget --keep-last 25 --prune diff --git a/restic/restic-rest-server/restic-rest-server-init.sh b/restic/restic-rest-server/restic-rest-server-init.sh index 2d2124e..3072ff2 100755 --- a/restic/restic-rest-server/restic-rest-server-init.sh +++ b/restic/restic-rest-server/restic-rest-server-init.sh @@ -2,7 +2,7 @@ export RESTIC_PASSWORD="8ung1e1!" -restic -r rest:http://192.168.1.51:8000/changemepls/home/akanealw init +restic -r rest:http://192.168.1.51:8000/changemepls/home init restic -r rest:http://192.168.1.51:8000/changemepls/etc init restic -r rest:http://192.168.1.51:8000/changemepls/opt init restic -r rest:http://192.168.1.51:8000/changemepls/root init