Greygoose

Members
  • Content Count

    376
  • Joined

  • Last visited

Community Reputation

21 Good

1 Follower

About Greygoose

  • Rank
    Member

Recent Profile Visitors

1381 profile views
  1. Hi Rick, Thats great. When running the borgmatic command i dont believe this shows in the logs. However when your cron scedule runs this will show in the docker log (click the docker icon and click logs). I recommend using the heathchecks.io function, this allows push notifications/emails on backup up times. It can be set to alert you if the backup fails. I also recommend borgbase for online backups, their website is full of borg and borgmatic information.
  2. @Rick_Sanchez To follow on from your post. Borgmatic will read the crontab.txt automatically, this is part of the docker setup. When you change the commands in crontab.txt you will need to restart the docker to load the changes. If you console into your borgmatic docker you can test your config files by simply typing borgmatic. borgmatic will read the .yaml files in the order they are list "alphabetically". I have 2 .yaml files, nextcloud.yaml and personal.yaml Both of these run two different backups. I typically use the following command in co
  3. @Rick_Sanchez You only need to change the cron schedule, Please see my schedule below, the first line has been changed so that it runs twice daily at 1am and 1pm. The second line is as per the original post and set to run weekly at 6am. The path does not need to be changed, this is the configuration within the docker and borgmatic. Please also see this link for further details on the cron setup, please let me know how it goes. https://linuxize.com/post/scheduling-cron-jobs-with-crontab/
  4. Extracting archives Just in case anyone else has this issue, when extracting archives using the borgmatic command (make sure you in the extract folder) - I created another mount point in the borgmatic docker to /mnt/extract borgmatic extract --archive myarchivename bormatic will look into the config.yaml files, I had my config to back up folder 1 to borgbase repo first then locally. I wanted to restore from the local backup, however the command above kicked up issues as I had the config file set to back up to the borgbase repo first before the local lo
  5. I had a similar situation. 1. Console into the docker 2. cd/config/www/nextcloud 3. sudo -u abc php7 occ (type command) This is what i used, but not sure is entirly what you need. sudo -u abc php /config/www/nextcloud/occ db:add-missing-indices
  6. FIXED: CRON schedule not running Ok sorted it. I recreated the crontab.txt file in the docker console using vi. Now the cron is working. It must have been a permissions issue, I normally edit the txt file in notepad+ in my Windows 10 machine via the shared network drive. I will play around and see how I caused it and report back
  7. No, the cron runs when I manually run it like the image above. But when I leave to do it automatically I get the errors as above. Could this be down to privileges allowed to the cron scheduler?
  8. ISSUE: Cron not running When I console into the borgmatic container I can run backups fine. I can even paste the cron entry, and it works, the cron is functioning as I monitored the logs just now, and it tried to run the cron again. If i paste this into the console it works and backs up correctly. PATH=$PATH:/usr/bin /usr/bin/borgmatic prune create -v 1 --stats 2>&1
  9. @T0a Thank you for the reply. The error was from the previous cron attempt. I just changed the cron time to run and restarted, so its atempting to run the cron but giving the error directory? Image attached
  10. Please can you confirm the crontab.txt is just copied into the config folder and nothing else is required for automatic backups? It isn't working my end. crontab.txt 0 1,16 * * * PATH=$PATH:/usr/bin /usr/bin/borgmatic prune create -v 1 --stats 2>&1 0 6 * * 3 PATH=$PATH:/usr/bin /usr/bin/borgmatic check -v 1 2>&1
  11. The above post was my error. The creation of the key needs to be done in the docker container, as explained on the borgbase site. https://docs.borgbase.com/faq/ssh/ Now working with borgbase without any issues.
  12. @sdub I am in the process of setting this up with borgbase. I have registered an account (free) and setup a test repository, I have uploaded my SSH key but having no luck with the connection within the docker console. I have attached 2 images below. The console image shows me trying to connect to the
  13. @sdub I have an issue which i'm not sure is my configuration or is not possible at all. I have the waseh rclone plugin installed, unraid is set to boot and mounts the OneDrive folder using the user scripts. I then have the folder set as a repository in the Borgmatic docker, I can see the folder mounts correctly in Borgmatic console., When I start the backup in borgmatic after init a new repo on the OneDrive rclone folder it backs up for a few minutes then the array crashes and I need to reboot. When I login to onedrive I can see the backup has started to upload on
  14. @sdub Thank you so much, you have given me many options and I appreciate you taking the time for such a detailed reply. I will post back once I have it working
  15. @sdub Testing this now, I will report back. Thank you I have this working using a local machine as a backup location. I now want to implement rclone, to have borgmatic upload to the remote folder, how can I implement this using the inbuilt fuse mount capabilities of borgmatic instead of using the USERSCRIPTS pluging to mount rclone.