Browse Source

Backup Julia data

remove-logs
Andreas Linz 3 years ago
parent
commit
7bbd06d1e9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backup-jupyter.sh

+ 1
- 1
backup-jupyter.sh View File

@ -4,5 +4,5 @@ set -euo pipefail
timestamp=$(date --iso-8601=seconds)
ssh klingt.vnet "sudo systemctl kill jupyter"
ssh klingt.vnet "sudo tar -C /home/jupyter -cf - -- notebooks | pixz" > "backups/jupyter-files-${timestamp}.tar.xz"
ssh klingt.vnet "sudo tar -C /home/jupyter -cf - -- notebooks .julia | pixz" > "backups/jupyter-files-${timestamp}.tar.xz"
ssh klingt.vnet "sudo systemctl start jupyter"

Loading…
Cancel
Save