Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] Can not recover borgbackup (nerdtools) backup due to "wrong" password

Featured Replies

SOLVED:

 

If you ever get in trouble, because you have special characters in your Passphrase (maybe in combination with a non-english keyboard):

 

Create a new script with:

 

#!/bin/sh

export BORG_PASSPHRASE="your_passphrase_with_special_characters"

#any borg command works
borg mount /path/to/repo /path/to/mountpoint

 

That worked in my case

 

---------------------------------------------------------------------------------------------------

 

Long story short,

 

i used to back up my most important files with a borgbackup script found here: https://www.reddit.com/r/unRAID/comments/e6l4x6/tutorial_borg_rclone_v2_the_best_method_to/

Due to some circumstances (long story) i wanted to recover parts of my backups, so i tried to recover them on another (Ubuntu 22.04 and Ubuntu on WSL) system with borg mount. However, borg asks me for the repo password, which is not accepted. My password is randomly generated and has some special characters which should be ASCII: $ # ^ These characters can be typed in with the keyboard.

 

I am pretty sure the password is right:

  • Recovered my flash backup and compared password in the script with the backed up one - both the same
  • Compared the repokey with the one i backed up - both the same

 

I know the script worked fine, because i had to manually start backups from time to time, because borgbackup did not get installed automatically through nerdtools. So sometimes i started the script manually and some times tested with borg create.

 

I am thinking of some character encoding issues, that unraid may use a different character encoding or something else, so the password was encoded different when setting up the repository and using the script. Maybe the character ^ makes problems? Because on German keyboards you have to type in ^ with a following keyboard input, otherwise the char does not get printed out on the screen.

 

Can anybody help me out how i could get access to my backups?

Edited by MrSliff

  • MrSliff changed the title to [SOLVED] Can not recover borgbackup (nerdtools) backup due to "wrong" password

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.