Alexandre Aubin
95ed4d67a0
Also backup Yunohost settings
2021-04-05 21:11:26 +02:00
Alexandre Aubin
9f599fee4c
Re-add the certificate backup/restore hook ...
2021-04-05 21:11:26 +02:00
Alexandre Aubin
8c351ad176
Fix data_xmpp backup/restore hook
2021-04-05 21:11:26 +02:00
Alexandre Aubin
2be90e35eb
Backup ssowat/conf.json.persistent
2021-04-05 21:11:26 +02:00
Alexandre Aubin
7e4536752e
Backup xmpp data
2021-04-05 21:11:26 +02:00
Alexandre Aubin
ce2c608253
Do not backup ssh, ssowat, certs, nginx, xmpp confs
2021-04-05 21:11:26 +02:00
Alexandre Aubin
d750b77e46
Add backup/restore hooks for manually modified files
2021-04-05 21:11:26 +02:00
Alexandre Aubin
6f3df383d2
Don't backup/restore crons >_>
2021-03-10 19:06:26 +01:00
Alexandre Aubin
cc6cc1860a
Do not backup damn cron jobs ... they will automatically be regenerated by the regenconf
2021-02-25 23:59:51 +01:00
Kayou
7f1938df6f
ynh_exec_warn_less dyndns backup
2021-01-14 15:47:10 +01:00
Alexandre Aubin
8790d51b8c
Merge pull request #1101 from YunoHost/fix-dyndns-key-nobackup
...
[fix] Add Dyndns domains keys to backup
2020-12-10 14:11:09 +01:00
ljf
60d838843e
[fix] Missing mkdir
2020-12-09 02:36:39 +01:00
ljf
9a87d8a52d
[fix] Missing dir
2020-12-09 01:59:06 +01:00
ljf
ef9cc98d5e
[enh] Use ynh_backup helpers
2020-12-09 01:35:40 +01:00
ljf
8b53d6562e
[fix] Add Dyndns domains keys to backup
2020-12-09 01:31:17 +01:00
ljf
2be911d369
[fix] Missing backup conf
2020-12-08 12:17:59 +01:00
Josué Tille
f22f64103a
Backup/restore also slapd.ldif
...
We need this because the regen-conf need to get the state of the slapd config database if it is customized or not and if some update are need.
2020-07-27 19:26:18 +02:00
Josué Tille
8af56c82ef
slapd.conf is no more used, but ldap.conf need to be saved/restored
2020-07-27 19:26:18 +02:00
Alexandre Aubin
6b72fc5fc5
It just make no sense to backup/restore the mysql password...
2020-07-27 19:20:36 +02:00
Alexandre Aubin
97e5d3b992
Remove those random sudo which are useless yet triggers LDAP warning when LDAP is in bad state
2019-11-28 00:10:40 +01:00
Kayou
b7bf951538
Tired of seeing this warning message
2019-04-10 12:15:21 +02:00
Alexandre Aubin
d495d315c0
[fix] Loading only one helper file leads to errors because missing getopts
2019-02-16 16:36:35 +01:00
ljf (zamentur)
8e574d2b5f
[fix] Error due to unwanted backslash ! ( #541 )
2018-09-13 15:36:18 +02:00
ljf (zamentur)
ff7942b246
[enh] Don't backp user home with .nobackup file
2018-09-03 13:15:31 +02:00
opi
751e221406
[enh] Use 'source' instead of dot notation, more explicit.
2016-05-30 10:49:50 +02:00
opi
75b9cbc7f3
[enh] Comments will save us.
2016-05-30 09:17:25 +02:00
Jérôme Lebleu
185f29ba60
[fix] Harden backup hooks with set options and use ynh_backup
2016-05-29 23:33:28 +02:00
Jérôme Lebleu
f9f8673e76
[fix] Update data_home/mail backup hooks to use ynh_backup helper
2016-05-08 00:30:54 +02:00
Jérôme Lebleu
689b390342
[fix] Restore current_host and use only one backup path for it
2016-04-22 14:54:41 +02:00
Jérôme Lebleu
5af988052d
[fix] Restore MySQL password for root user (bugfix #194 )
2016-04-22 14:36:21 +02:00
Julien Malik
1300f4c0ca
[fix] fix lintian script-not-executable
2016-03-12 00:20:52 +01:00
Julien Malik
02346776f2
[fix] follow up directory move /usr/share/yunohost/helpers
2016-03-12 00:15:15 +01:00
zamentur
ea5ffb8498
Merge remote-tracking branch 'upstream/unstable' into unstable
...
Conflicts:
data/hooks/restore/05-conf_ldap
2016-02-08 22:52:28 +01:00
zamentur
b70cff29f7
[fix] Backup/restore without postinstall failed
2016-02-08 22:39:17 +01:00
Jérôme Lebleu
141d704a04
[fix] Review LDAP backup and restore hooks
...
The configuration is now saved using slapcat instead of trying to generate
it from slapd.conf - which generally fail at restoration.
Also, a backup of configuration and database is made before the restoration,
which allows to return to a "working" state if it fails.
2016-01-23 19:15:13 +01:00
zamentur
98e92bdbac
[fix] Sudo on some backup script
2015-10-03 20:41:37 +02:00
Jérôme Lebleu
7280a56e16
[enh] Bind folders in data backup hooks instead of copying them
2015-10-03 00:59:19 +02:00
zamentur
027ec16978
[fix] error with slpacat and slapd-yuno.conf
2015-10-02 20:48:04 +02:00
zamentur
04e9658f37
[fix] Mysql backup in good directory
2015-10-02 20:09:28 +02:00
zamentur
28d7b7db63
[fix] Save and restore mysql password
2015-10-02 19:46:18 +02:00
zamentur
a0199d060b
[enh] Introduce data and conf hooks category
2015-10-02 18:57:10 +02:00
Julien Malik
ce4c54ad88
[lintian] fix script-not-executable for backup/restore hooks
2015-09-10 08:43:23 +02:00
Jérôme Lebleu
3a76e95c7f
[enh] Add debian subdirectory and change root yolo structure
2015-01-31 23:45:34 +01:00