Comments (7)
Tested manual local backup of wireguard successfully.
Tested also backup to borgbase with "exclude:wireguard" successfully.
It seems only the backup with of wireguard with borg is not working.
Thank you for your help.
from borg_ynh.
this issue is related to this one YunoHost-Apps/wireguard_ynh#70
cat /var/log/yunohost/categories/operation/20230627-000322-backup_create.yml
args:
apps:
- wireguard
description: null
dry_run: false
methods:
- borg_app
name: auto_wireguard
output_directory: null
system: null
ended_at: 2023-06-27 00:03:25.577427
error: '''/etc/wireguard/wg0.conf'' and ''/home/yunohost.backup/tmp/auto_wireguard/apps/wireguard/backup/etc/wireguard/wg0.conf''
are the same file'
interface: cli
operation: backup_create
parent: null
related_to:
- - app
- wireguard
started_at: 2023-06-27 00:03:22.479313
success: false
yunohost_version: 11.1.21.4
but some of us didn't manage to use the "exclude:wireguard" so the yunohost borg keep trhowing errors every day
for me the solution is to use the exact value of the apps to backup, for example:
yunohost app setting borg apps -v "etherpad_mypads,nextcloud,onlyoffice"
from borg_ynh.
I can see that YunoHost-Apps/wireguard_ynh#70 in Wireguard repository is closed. However, the issue still persists for me. Anyone else?
from borg_ynh.
I can see that YunoHost-Apps/wireguard_ynh#70 in Wireguard repository is closed. However, the issue still persists for me. Anyone else?
have you tried this? -> YunoHost-Apps/wireguard_ynh#70 (comment)
from borg_ynh.
I can see that YunoHost-Apps/wireguard_ynh#70 in Wireguard repository is closed. However, the issue still persists for me. Anyone else?
have you tried this? -> YunoHost-Apps/wireguard_ynh#70 (comment)
Yes, I commented this line in Wireguard's backup script yesterday but the backup still failed last night.
from borg_ynh.
I can see that YunoHost-Apps/wireguard_ynh#70 in Wireguard repository is closed. However, the issue still persists for me. Anyone else?
have you tried this? -> YunoHost-Apps/wireguard_ynh#70 (comment)
Yes, I commented this line in Wireguard's backup script yesterday but the backup still failed last night.
you have to apply changes to cron by restartin ther service or even restarting the server will do
from borg_ynh.
Yesterday I restarted my whole server, but the backup is still not successful. I commented this line in the backup script as suggested in the solution:
# Backing up specific config file, in case of it is not in /etc/wireguard
#ynh_backup --src_path="$(jq -r 'select(.config_file_path | startswith("/etc/wireguard/") | not) | .config_file_path' $install_dir/db/server/global_settings.json)" --not_mandatory
Any other ideas?
Also, if I understand correctly, instead of restarting the whole server I would need to restart wg-quick@wg0
service, right?
from borg_ynh.
Related Issues (20)
- The backup miserably failed to backup HOT 4
- Borg fails after migration to bullseye HOT 4
- Add a "Manual backup" option" / Possibilité de lancer la sauvegarde manuellement HOT 1
- Updating repo path with config panel does not update domain in backup hook
- Borg not sending app data HOT 15
- [Enhancement] Cache TTL environment variable
- Implement auto-updater
- [Enhancement] Borg keep processing unchanged files as new files HOT 2
- config panel broken HOT 3
- Feature request : Prune in config panel HOT 1
- Memo in case of upgrade >= 1.2.5 HOT 1
- Architecture: Ability to host multiple versions side-by-side
- Add multiple destinations
- Documentation innacurate HOT 5
- Multiple backup-with-borg instances
- Config panel not showing despite working app HOT 8
- Please document the use of backup-with-borg HOT 1
- /var/log/backup_borg.err should be rotated HOT 2
- Borg fails when file changes on disk during archive creation HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from borg_ynh.