chris and Claude Opus 5.5
9923bfe01f
rcopy.conf.sample: use '--exclude=PATTERN' to prevent shell glob expansion.
...
Unquoted expansion of $progArgs let the shell expand patterns like
'*.log' against the current working directory (e.g. /root for the
cronjob). Matching files became extra rsync source arguments, which
broke backups of remote hosts with 'Unexpected remote arg'.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-23 01:53:59 +01:00
chris
b07999f0cf
main_part.include: remove debug code.
2026-03-03 10:51:24 +01:00
chris
5df87179c8
hosts/scripts/main_part.include: fix error at killing pid.
2026-03-02 09:11:32 +01:00
chris
fe73b6728b
hosts/scripts/main_part.include: only kill pd if prozess is present.
2026-03-01 11:39:07 +01:00
chris
c1e4fbc75c
Delete unused old configuration files.
2025-05-24 23:52:04 +02:00
chris
9a548cdedc
Some changes to file ',gitignore'.
2025-05-24 23:44:41 +02:00
chris
400d8b728c
rcopy.conf.sample: The backup script now determines itself whether the backup hard drive is encrypted or not.
2025-05-24 23:39:16 +02:00
chris
f2aab415d0
rcopy.sh: renew ssh agent stuff.
2025-02-13 11:59:34 +01:00
chris
35b1e38dcc
rcopy.sh: Fix error in loading ssh agent.
2024-12-11 17:14:20 +01:00
chris
1c3bb571e1
rcopy.sh: fix error with handling ssh agent.
2024-12-11 03:14:02 +01:00
chris
dbe87cf75f
cleanup directory 'Moved-o-borg2'.
2024-12-10 17:54:35 +01:00
chris
3eb272a2a3
ignore ditrctory 'Moved-o-borg2'.
2024-12-10 17:52:12 +01:00
chris
5a288f6cb4
ignore ditrctory 'Moved-o-borg2'.
2024-12-10 17:50:00 +01:00
chris
7d6774149c
Change add (default) ssh key fot ssh-agent.
2024-12-10 14:17:36 +01:00
chris
64971f6afa
Add support for network directories on backups for remote maschines.
2024-05-03 13:49:13 +02:00
chris
a70ea6a55c
mysql_backup.sh: fix error: in case of backup from localhost closing ';' sign was missing.
2024-01-30 00:27:07 +01:00
chris
041fc50d5d
Add flag '-B' if rcopy_manual.sh was called; fix error if onlx netdirs should be saved.
2024-01-29 15:21:31 +01:00
chris
2a6ab0d97a
mysql_backup.sh: don't include databases 'mysql' and 'sys' into database creation sql file.
2023-08-16 17:58:48 +02:00
chris
441f3cee66
mysql_backup.sh: add 'Create user' scripts..
2023-08-12 22:57:51 +02:00
chris
119bc81043
hosts/scripts/mysql_backup.sh: exclude some user like 'mariadb.sys' from user-creation-statements.
2023-08-12 15:47:23 +02:00
chris
c08ab862a5
backup_script.sh.sample: add empty line for better reading..
2023-08-06 18:30:45 +02:00
chris
a2418463f7
Support setting MySQL System Variable '--max-allowed-packet' at host configuration - part 2
2023-08-06 18:19:32 +02:00
chris
fbabeb6873
Support setting MySQL System Variable '--max-allowed-packet' at host configuration.
2023-08-06 18:15:13 +02:00
chris
ed214bcc5b
fix error seting variable backupSrcDir: backup at debian 12 was runs into error becaus of the double quotes; some other fixings..
2023-07-28 13:32:47 +02:00
chris
d986a12ff4
rcopy.sh: optinize partition after filesystemcheck.
2023-03-14 10:35:01 +01:00
chris
d3cfc57799
Merge branch 'master' of git.oopen.de:backup/backup-rcopy
2023-03-03 23:54:03 +01:00
chris
e9ee613a50
mysql_backup.sh: some minor changes in comments.
2023-03-03 23:53:45 +01:00
chris
e3b3f764ac
mysql_backup.sh: change '--max_allowed_packet' to '512M' (--max_allowed_packet=512M).
2023-02-23 11:17:43 +01:00
chris
35caf94c46
mysql_backup.sh: add flag '--compress' du mysqldump options.
2023-02-23 11:14:23 +01:00
chris
962effc961
mysql_backup.sh: add comment..
2023-02-13 15:45:50 +01:00
chris
120adb6e6b
Merge branch 'master' of git.oopen.de:backup/backup-rcopy
2023-01-22 16:23:41 +01:00
chris
9aaf090121
mysql_backup.sh: adjust comment - add directive to give Reload Privileges to backup user - is needed at least since MySQL 5.7.41 ..
2023-01-22 16:22:03 +01:00
chris
e66c1e0479
Fix some errors determin backup device.
2023-01-14 16:46:14 +01:00
chris
58d1db64b9
Fix error determin backup partition.
2023-01-14 01:01:02 +01:00
chris
07e65564d3
backup_script.sh.sample: adding comment at SSH Hopping section concerning 'HostKeyAlgorithms' settings.
2022-12-19 17:51:24 +01:00
chris
282b79f682
restore-website-from-backup.sh: some changes to the script output.
2022-07-01 22:50:47 +02:00
chris
976f2ebb5c
restore-website-from-backup.sh: add time durations for removing/restoring webspace and database.
2022-07-01 12:22:37 +02:00
chris
fcc08699e7
restore-website-from-backup.sh: some minor changes.
2022-06-29 18:05:05 +02:00
chris
dac12100fe
restore-website-from-backup.sh: fix error in case web base directory is a symlink.
2022-06-24 02:32:12 +02:00
chris
f64717bab4
restore-website-from-backup.sh: fix some errors.
2021-07-06 01:22:39 +02:00
chris
6eb89a2ad0
mysql_backup.sh: fix error in variable settings.
2021-05-19 01:26:04 +02:00
chris
e9892b6123
mysql_backup.sh: fix new error in determin mysql binary.
2021-05-17 02:32:35 +02:00
chris
36b3a8dfa8
mysql_backup.sh: fix error determin remote mysql binary.
2021-05-16 16:22:39 +02:00
chris
0b5978a3b1
pgsql_backup.sh: try to set PostgreSQL commands manually if they were not found.
2021-03-26 10:10:49 +01:00
chris
6693077cfd
nc_accounts_backup.sh: remove debug code.
2020-12-23 11:48:58 +01:00
chris
31422c5475
Add Script 'restore-website-from-backup.sh'.
2020-11-26 10:37:01 +01:00
chris
5fcdc43528
Minor change in script output..
2020-11-19 18:52:05 +01:00
chris
8477b08aee
Add support for backup nextcloud accounts.
2020-11-16 17:50:13 +01:00
chris
da2be27734
logrotate_handle-backups.conf.sample: change subject.
2020-09-29 02:56:44 +02:00
chris
84f41e944a
Finish support of (utf-8) encoded subject - now forgot file logrotate_handle-backups.conf.sample.
2020-09-28 16:08:42 +02:00
chris
3f2a913d22
Finish support of subject (utf-8) encoding - forgot sample configuration file.
2020-09-28 15:56:25 +02:00
chris
3802e50061
Support subject (utf-8) encoding.
2020-09-28 15:40:07 +02:00
chris
43a253ad4a
rcopy.sh: fix error checking if backup device is correctly mounted in case if remote backup disk.
2020-09-23 03:25:54 +02:00
chris
ec9b892b2b
rcopy.sh: remount backup partition if backup partion is mounted, but mount point is not the defined one.
2020-09-22 12:44:59 +02:00
chris
609c423c4a
rcopy.conf.sample: forgot exporting 'rsync_progArgs' - Done.
2020-09-04 14:14:28 +02:00
chris
1f80223217
Complete adjustinf rsync arguments.
2020-09-04 14:04:54 +02:00
chris
e656e49d81
Adjust rsync arguments.
2020-09-04 13:58:38 +02:00
chris
cceb1b69f0
Adjust rsync arguments.
2020-09-04 13:56:41 +02:00
chris
2d68b36d60
main_part.include: fix - further more - a bug in script output.
2020-06-25 10:30:18 +02:00
chris
2330f736f2
main_part.include: fix a bug in the script error output.
2020-06-25 10:25:48 +02:00
chris
52f0e243c2
Add support for pre- and post-backup commands.
2020-06-24 21:48:25 +02:00
chris
2314e71238
Remove debug code.
2020-05-24 12:51:42 +02:00
chris
e6e88c7e7d
Add Options 'ONLY_BACKUP' (do not handle existing archives) and 'NO_NEW_BACKUP' (do not backup any host, only handle existing archives).
2020-05-23 15:33:39 +02:00
chris
41e67196d3
svn_backup.sh: adjust comments for sudoers entries.
2020-04-29 03:33:08 +02:00
chris
25ff5a6ebd
mysql_backup.sh: a minor change.
2020-04-17 11:48:53 +02:00
chris
bfa298ce23
mysql_backup.sh: add comment for backup user MariaDB 10.3.x
2020-04-17 11:16:34 +02:00
chris
578058ceb6
Fix error in manual_hosts.conf.sample.
2019-07-07 16:20:12 +02:00
chris
e714646b2f
Fix error at conf/manual_hosts.conf.sample
2019-06-26 12:50:30 +02:00
chris
bff7247183
Add comment to 'manual_hosts.conf.sample'.
2019-06-26 12:46:58 +02:00
chris
6e83231078
Move manual hosts definition to configuration file manual_hosts.conf
2019-06-26 12:43:54 +02:00
chris
c31323a439
cleanup var 'host_scripts'.
2019-06-22 01:06:07 +02:00
chris
29cba7f7d6
Merge branch 'master' of https://git.oopen.de/backup/backup-rcopy
2019-06-09 17:09:01 +02:00
chris
ef5848f4ea
Print additional infos about errors to std_out.
2019-06-09 17:08:15 +02:00
chris
74ba99e63f
Adjust rsync arguments if saving on remote disk.
2019-02-08 13:27:45 +01:00
chris
7013d8644f
hosts/scripts/mysql_backup.sh: fix error if saving database mysql ('--lock-tables=0) in case of mariadb.
2019-01-29 16:38:55 +01:00
chris
d57237eec7
rcopy.conf.sample: change default value 'remote_disk' to 'false'.
2019-01-24 11:36:59 +01:00
chris
f41ed44460
mysql_backup.sh: adjust comments for configuring backup user (MySQL 8.x).
2018-12-03 17:21:28 +01:00
chris
2e873795a4
mysql_backup.sh: add comment for adding dynamic privilege to user backup (MySQL version 8.x).
2018-12-03 15:53:01 +01:00
chris
ccb72e5ae4
mysql_backup.sh: change comment.
2018-12-03 14:03:37 +01:00
chris
a6e8416551
mysql_backup.sh: add documentation comment for MySQL 8.0.
2018-12-03 11:41:04 +01:00
chris
642a5c84d1
Adjust file 'logrotate.conf.sample'.
2018-12-03 01:42:28 +01:00
chris
b8287a003e
Export 'label' for using by logrotate.
2018-12-03 01:19:07 +01:00
chris
e73d71fd08
Merge branch 'master' of https://git.oopen.de/backup/backup-rcopy
2018-12-02 21:46:35 +01:00
chris
bb32613273
Add support for remote backup server.
2018-12-02 21:46:09 +01:00
chris
351855e725
rcopy.sh: fix errors.
2018-09-09 13:39:19 +02:00
chris
0e1c26b2b8
mysql_backup.sh: fix errors in creating user creation statements.
2018-09-08 23:27:47 +02:00
chris
684b9b35fe
Merge branch 'master' of https://git.oopen.de/backup/backup-rcopy
2018-09-08 04:34:04 +02:00
chris
7b140ee3a5
mysql_backup.sh: fix creation of MySQL Grants. Add user creation sql file for MySQL Versions > 5.6.
2018-09-08 04:33:27 +02:00
chris
b8522b35f9
Add 'extra_admin_email'. If set a summary e-mail will also be sent ti this address.
2018-03-11 23:11:14 +01:00
chris
59a4fabe49
Set default value for 'host_scripts'.
2018-01-23 04:00:39 +01:00
chris
62e29d5100
Fix minor errors.
2018-01-23 03:58:02 +01:00
chris
ca6f2e18a2
Set default value for 'host_scripts'.
2018-01-23 03:00:46 +01:00
chris
83bd3db9b9
Add support of databases from more than one MySQL installation.
2018-01-23 02:54:48 +01:00
chris
e4d5f59252
Remove unused code.
2017-11-23 04:41:08 +01:00
chris
520dd6eb96
Merge branch 'master' of https://git.oopen.de/backup/backup-rcopy
2017-11-23 04:30:55 +01:00
chris
97e034bd99
Add support of multiplexing ssh.
2017-11-23 04:30:37 +01:00
chris
3a28ef71e3
Add crypto-keys to '.gitignore'.
2017-11-09 13:20:05 +01:00
chris
bceeb9bbbd
Add comment for MariaDB
2017-02-08 01:37:37 +01:00
chris
76433059ad
Initial import - (formaly a SVN project named rcopy)
2017-01-24 15:15:01 +01:00