mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2024-11-01 16:03:06 +01:00
14 lines
341 B
Bash
14 lines
341 B
Bash
#!/usr/bin/env bash
|
|
|
|
if ! flatpak run org.kde.kbackup --auto /home/jas/shared/default.kbp; then
|
|
logger -t backup_home -s "Error running kbackup"
|
|
exit 1
|
|
fi
|
|
|
|
if ! /home/jas/.local/bin/rclone sync --transfers 8 /home/jas/sync-to-protondrive/ protondrive: ; then
|
|
logger -t backup_home -s "Error running rclone"
|
|
exit 1
|
|
fi
|
|
|
|
exit 0
|