kilonde
-
Posts
18 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Posts posted by kilonde
-
-
I am confused how to update my repo path in the configuration to avoid this error:
Remote repository paths without ssh:// syntax are deprecated.
My repo configuration is like this:
[email protected]:/mnt/disk/borg_backup/repo
and the ssh command looks like this:
ssh_command: ssh -i /root/.ssh/Pi
Also, is it advised to keep the same version of borg on client and the server?
-
On 12/8/2022 at 4:54 PM, mgutt said:
It does and it does not "run". It changes only Linux configs. Easy verification: execute powertop and use TAB to switch to the last tab. Every entry is "good".
Thanks again, that makes sense, the tunables tab is showing good for all parameters. Yet my Idle stats dont look promising:
And it looks like only two frequencies - 800MHz or 3.6 GHz
Can I make some further changes? All C states are enabled in bios, no VMs.
-
On 12/5/2022 at 11:24 AM, mgutt said:
There aren't any errors. Only warnings or irrelevant informations.
Thanks, based on that output, the auto tune does not run, or am I wrong?
Google does not help much unfortunately.
-
On 10/30/2022 at 11:40 AM, J05u said:
When I run autotune i am getting
powertop: /lib64/libncursesw.so.6: no version information available (required by powertop)
powertop: /lib64/libtinfo.so.6: no version information available (required by powertop)
modprobe cpufreq_stats failed
Loaded 0 prior measurements
Cannot load from file /var/cache/powertop/saved_parameters.powertop
File will be loaded after taking minimum number of measurement(s) with battery only
RAPL device for cpu 0
RAPL device for cpu 0
Devfreq not enabled
glob returned GLOB_ABORTED
Cannot load from file /var/cache/powertop/saved_parameters.powertop
File will be loadIn tunables all showing as good
But in Pkg(HW) as on screenhot bad, all zeros
What i can do to fix it?
I get the same error, have you managed to get it working? I'm using 10th gen Intel.
-
5 minutes ago, Solverz said:
I mean, the logs say "error at 1,4,6,7"
Looking at the part "1,4,6,7" in your crontab.txt file, I do not understand what this is here for and Cron does not understand what it is.
Thanks, I replaced it with 20 4 * * 1,4,6,0 and it appears to have worked! 7 is not Sunday
-
-
On 1/11/2022 at 2:42 PM, sdub said:
To be honest, I think I just copied the PATH statements from an example, and never messed with it. It might not be strictly necessary, but note that cron runs as root, but not with the full root environment. So if you have before backup or after backup hooks in your borgmatic config, they might fail to run without explicitly giving the path.
By default, borg/borgmatic just log their output to the console. the "2>&1" at the end of the line redirects error output to the console. In our Unraid Docker setup, these logs are viewable in the docker log window.
Recently, I decided I wanted proper logfiles, so I added the following to my docker config:
Then I changed my cron command as follows:
/usr/bin/borgmatic -v 1 --files --stats > /mnt/logs/backup-"`date +"%a-%H"`".log
I perform backsups 2x daily, so this creates rolling logfiles named like:
backup-Mon-01.log backup-Mon-13.log backup-Tue-01.log backup-Tue-13.log ...
Note that you could also use a date code formatted like `date +"%Y.%m.%d-%H"` and you'd get logfiles like:
backup-2022.01.11-01.log backup-2022.01.11-13.log backup-2022.01.12-01.log backup-2022.01.12-13.log ...
and your log directory would just grow indefinitely. Also note that I removed the 2>&1 from the end of the command. This way the borg/borgmatic output is logged, but the errors are also shown on the docker log, which makes monitoring easier.
I should probably update the docker template and description to make this the default behavior at some point.
I have tried to set this up but it does not seem to work:
20 4 * * 1,4,6,7 PATH=$PATH:/usr/bin /usr/bin/borgmatic prune create -v 1 --files --stats > /mnt/logs/backup-"`date +"%a-%H"`".log 20 4 * * 3 PATH=$PATH:/usr/bin /usr/bin/borgmatic check -v 1 2>&1
First added the statement with notepad but read elsewhere that it might be causing issues so recreated the file in VSC, the issue persists.
Logs are created but with a strange name:
Docker log is full of cron errors as well
Any idea what is going wrong?
-
Thanks for bringing borgmatic to unraid, I have managed to get it working with unassigned drive.
The ultimate goal is to have a Raspberry Pi hosted remotely for backups - I have managed to do a test backup, but it looks like the encryption was done on the Pi?
My plan is to set a wireguard connection schedule to connect the Pi to my unraid, run borgmatic backup and then disconnect the pi from my unraid.
What is the best way to:
- Make sure the encryption is done on the more powerful unraid server
- Connect and disconnect the Raspberry Pi Wireguard connection from the unraid server.
Furthermore, my healthchecks only show this in notification emails:
QuoteStarting a backup. Finished a backup.
Is there a way to have more detailed --stats output?
I have followed sdub's guide on creating persistent logs in appdata and can see the output. According to borgmatic documentation the notification should already contain some log up to 10kb? https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/#healthchecks-hook
-
On 12/29/2020 at 4:23 PM, Hoopster said:
and every 3-4 month I run an alternative version of that script that deletes from the backup anything that has been deleted from the source. I'll eventually likely do the same with the external drive, but, it's another fallback in case something gets accidentally deleted from the server (as has happened to me twice now with entire year of photos).
Is there any chance you could share your backup "pruning" script?
-
On 11/15/2020 at 11:37 PM, macem said:
I am also "one of them" spending my whole day trying to get HW transcoding to work 😏
As far as I can tell, I did all the recommendations in the various threats, but when I play a .mkv I don't see my HW is being used.
What I did so far:
- I am using an Intel CPU with QuickSync support
-
Added the following to my go file using the CA Config File editor and rebooted Unraid
- modprobe i915
- chmod -R 777 /dev/dri
- Added --device=/dev/dri:/dev/dri to the extra parameters of the Jellyfin docker
- Enabled HW transcoding, using VAAPI and restarted Jellyfin
- When I hit the command /dev/dri I can access the folder (both from the server Terminal aswell in the Jellyfin _Console)
- When I hit the command in the Jellyfin _Console for a HW transcode (thanks @sir_storealot), I see it starts using the HW transcoder using the Intel GPU tools
- Even updated from Unraid 6.8.0 to Unraid 6.9.0 b35,rebooted the server, and hit the command to enable i915 support and did steps 5 and 6 again
When I however start playing the same .mkv from the web-browser or the Android app of Jellyfin, it only uses my CPU and shows 'Direct Play'. When I look at the Intel GPU tools, it is also only using the CPU instead of the engine.
Sorry for the details, but wanted to show what I did and not just gave up the first time it didn't work...
Any suggestions what I am missing here?
Have you or anyone else figured out HW transcoding for 10th gen intel CPUs?
I followed all of the above steps and it still doesn't work. Looking at the thread history, I am not the only one
EDIT:
I tried the ich777 jellyfin docker, and it worked without problems
-
20 hours ago, Squid said:
Is piHole running as a container on Unraid?
Generally, I do not recommend using piHole (especially if it's running on the server) to use for your DNS
- There's zero ads / tracking etc within the OS to begin with
- If you stop the array / container you lose access to the internet from the OS
It is running on a separate device, but given your feedback I will change to cloudflare or openDNS.
Thanks for your help.
-
2 hours ago, Squid said:
Try settings static DNS addresses in Settings - Network Settings of 208.67.222.222 and 208.67.220.220
Thanks for the suggestion, it has worked - maybe something in the pihole lists?
Is it safe to go back to auto DNS?
-
On 10/9/2021 at 1:32 PM, ScreN said:
Not install
I have the same problem - not installing properly, just like in your video.
Have you managed to solve it?
-
33 minutes ago, Stubbs said:
How? I know how to access the terminal from the Unraid WebUI, but not sure how to enter the docker specifically.
Click on the mariadb icon in your docker page and then console.
-
22 hours ago, allanp81 said:
Heidisql is a simple tool and you can use a portable version of it as well I believe.
That's a great tip, thank you.
-
How can I add another user and a new database?
Should I use the console and follow mariadb instructions or is it something I need to do in the docker settings on unraid? Or perhaps a whole new docker container should be setup?
Right now I am using it for nextcloud but would also like to use mariadb for my RPi base Home Assistant instance.
If you have a link handy I would very grateful
Thank you!
[Support] borgmatic
in Docker Containers
Posted
Thanks for your help, this has worked!