shortened path to home

This commit is contained in:
2024-05-25 14:08:52 -05:00
parent 462d0975d3
commit 3f583c85c4
4 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
export RESTIC_PASSWORD="8ung1e1!" 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"

View File

@@ -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 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/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-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-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/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 wget -q http://192.168.1.50/scripts/restic/restic-rest-server/restic-rest-server-init.sh -P /root/scripts/restic

View File

@@ -3,9 +3,9 @@
export RESTIC_PASSWORD="8ung1e1!" export RESTIC_PASSWORD="8ung1e1!"
# backup /home/akanealw # 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 unlock
restic backup /home/akanealw --no-cache -v restic backup /home --no-cache -v
restic unlock restic unlock
restic forget --keep-last 25 --prune restic forget --keep-last 25 --prune

View File

@@ -2,7 +2,7 @@
export RESTIC_PASSWORD="8ung1e1!" 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/etc init
restic -r rest:http://192.168.1.51:8000/changemepls/opt 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 restic -r rest:http://192.168.1.51:8000/changemepls/root init