A few months ago, I updated Debian to 10. (I believe I’m using Wayland and GNOME?) Among the several problems that suddenly started occurring is the following: Once in a while, I’ll come back to my computer, and there will be a password dialog reading “Authentication required” and “Authentication is […]
Daily Archives: February 23, 2020
11 posts
I got the following script to run pre-backup stuff on my server : #!/bin/bash dump_name="nextcloud_$(date +%d-%m-%y_%H-%M-%S)_backup.sql" printf "Enabling maintenance mode... " docker exec -u www-data nextcloud_front_1 sh -c "php occ maintenance:mode --on" printf "nDumping database...n" docker exec nextcloud_database_1 sh -c 'mysqldump -u root -p$MYSQL_ROOT_PASSWORD nextcloud' | sudo tee "/data/nextcloud/database/dumps/$dump_name" > […]