Commit graph

166 commits

Author SHA1 Message Date
Jérémy Dubois 664a424aee Send traceroute stderr to stdout
OpenBSD sends its first line of information into stderr
2018-07-25 19:05:26 +02:00
Jérémy Dubois d69a015025 Revert "/srv is not on BSD systems"
This reverts commit 853f6dff21.
Paths in systems variable are always backed up, that is not the case of /srv.
We have to manually remove /srv when we do not want it.
2018-07-16 16:04:43 +02:00
Jérémy Dubois 853f6dff21 /srv is not on BSD systems 2018-07-16 11:54:11 +02:00
Jérémy Dubois 391ef207f7 Add PATH, which is needed for BSD systems 2018-07-16 11:53:23 +02:00
Benoît S. bc1012b091 Modification commentaire 2018-04-05 16:24:18 +02:00
Alexis Ben Miloud--Josselin 7a9e4c6168 Simplify and store deletion logs in /tmp 2018-04-05 16:02:07 +02:00
Alexis Ben Miloud--Josselin 6548c5a1d8 Remove old logs 2018-03-21 18:06:00 +01:00
Alexis Ben Miloud--Josselin f449ea9b9f Removed useless (old) comment 2018-03-21 18:00:25 +01:00
Alexis Ben Miloud--Josselin 135c1df22a Remove unneeded lines 2018-03-14 14:49:25 +01:00
Alexis Ben Miloud--Josselin afc33a4002 Update elasticsearch snapshot 2018-03-09 10:39:59 +01:00
Benoît S. b30e0ef775 Remove mongodump backup dir before dumping
This is mandatory, elsewhere you'll retain old DBs/collections dumped.
2018-02-13 11:57:29 +01:00
Gregory Colpart 0b9049b568 Improve mysqldump in zzz_evobackup (thanks Bruno for the idea) 2018-02-08 01:44:14 +01:00
Daniel Jakots 5819a00ada zzz_evobackup is not part of the documentation... 2017-11-13 16:28:34 -05:00
Victor LABORIE d663f4591d Refactoring 2016-12-20 11:59:18 +01:00
Victor LABORIE 6a4af139ba Add RabbitMQ example. 2016-11-09 12:10:10 +01:00
Benoît S. 29cd250c73 Updated mongodb example. 2016-08-18 18:01:07 +02:00
Gregory Colpart 11e73103d0 new default routes (more stable) 2016-05-10 00:34:27 +02:00
Benoît S. a2bdfc106b Exclude /var/lib/munin/*tmp* in place of /var/lib/munin/*.tmp
Better match for files like:
  file has vanished: "/var/lib/munin/graphs.tmp.3006"
2016-04-21 11:59:51 +02:00
Gregory Colpart 8aab335168 Add command to backup megacli config (RAID hw config) 2015-11-25 17:16:46 +01:00
Gregory Colpart ee57c20134 retab 2015-11-24 19:52:05 +01:00
Gregory Colpart e924394230 force umask 2015-11-24 19:50:51 +01:00
Tristan PILAT cbe6af8ce7 Making zzz_evobackup more BSD compatible 2015-11-12 17:54:58 +01:00
Gregory Colpart 1b02ba0a70 - use only english in comments
- improve comments
2015-08-12 13:18:47 +02:00
Benoît S. aaa0910e9b chmod +x for executables. 2015-07-02 15:21:29 +02:00
Benoît S. 62d397386d Add --exclude "/var/lib/clamav/*.tmp" 2015-02-06 11:39:27 +01:00
Gregory Colpart e84cc25c5c Set LANG=C 2015-02-03 01:06:09 +01:00
Benoît S. bd48826956 Exclude /home/mysqltmp 2015-01-16 11:38:48 +01:00
Benoît S. 0a3ab673cc Added --hex-blob to mysqldump. 2014-12-30 10:08:08 +01:00
Gregory Colpart 33ab2d2f74 Improve exceptions 2014-12-29 18:25:45 +01:00
Gregory Colpart 4dafd8bc62 add exception by default 2014-12-22 18:35:35 +01:00
Gregory Colpart a27c2e79c2 Merge improvements from Benoit (part 2) 2014-06-19 02:43:36 +02:00
Gregory Colpart b7a5efa462 support symlink without modification 2014-06-17 19:17:31 +02:00
Benoît S. 6eea9aa47e Exclude database performance_schema for MySQL dumps. 2014-01-10 14:29:05 +01:00
Benoît S. 75f256b8e7 Added --events for mysqldump. 2014-01-10 11:07:05 +01:00
Benoît S. b48b2a58fa Comment of ElasticSearch dump.
No need to be activated by default...
2014-01-09 17:00:51 +01:00
Benoît S. 3ca2623d70 Added a way of backuping ElasticSearch 2013-11-15 12:16:50 +01:00
Benoît S. 174c46aea8 Adding a loop when dumping routes. 2013-09-03 15:01:55 +02:00
Benoît S. 92f6db4439 Fix a bug in the way of killing evobackup.
The process is launched by "run-parts /etc/cron.daily". When you kill the
process, run-parts is not informed and the process go in Z state (and rsync
continue to work!). When another run-parts is launched the part wich kill a
process if already launched fail.

This fix this particular bug.
2013-08-05 17:46:18 +02:00
Gregory Colpart 88fb702b46 Add netstat dump 2013-06-30 13:18:54 +02:00
Romain Dessort 6bf536dc1e Remove exit 0 if evobackup already running. 2013-05-03 15:41:54 +02:00
Romain Dessort 329617461e Merge branch 'master' of ssh://git.evolix.org/git/evolinux/evobackup 2013-05-03 15:27:45 +02:00
Romain Dessort 4fe816827f Kill evobackup process if it was already running, instead of simply send
an email.
2013-05-03 15:25:50 +02:00
Gregory Colpart 516eece91c Merge branch 'master' of ssh://git.evolix.org/git/evolinux/evobackup 2013-04-12 18:05:03 +02:00
Gregory Colpart 606ff2923b Add --partial option to rsync ! 2013-04-12 18:04:32 +02:00
Gregory Colpart 1a54bb92e3 Error on mysqldump option 2013-01-28 00:18:11 +01:00
Romain Dessort fc39d0c186 Fix argument order in mysqldump commandline
--defaults-extra-file must be the first option.
2012-11-05 11:47:14 +01:00
Gregory Colpart 7453e90313 Merge branch 'master' of ssh://git.evolix.org/git/evolinux/evobackup 2012-10-27 18:27:49 +02:00
Gregory Colpart f66d088636 backup Redis 2012-10-27 18:27:18 +02:00
Benoît S. 1c3390b398 Adding --force parameter to mysqldump commands. This permit to continue even if mysqldump fail (i.e corrupt table). 2012-07-30 14:55:09 +02:00
Benoît S. 1f60b99e33 Add a new way of backuping MySQL databases. Each databases go in a separate .sql.gz file. 2012-07-30 14:52:10 +02:00
Romain Dessort 1384458ad4 Save list of installed packages. 2012-03-14 17:52:41 +01:00
Romain Dessort f0192548b7 Fix a bug in the slapcat command line. 2012-02-27 15:12:27 +01:00
Romain Dessort 7c208d7bff Add a proces snapshot to zzz_evobackup. 2011-12-30 14:13:51 +01:00
Romain Dessort 7ba57a1cd2 Merge branch 'master' of ssh://billux@git.evolix.org/git/evolinux/evobackup 2011-10-06 10:36:22 +02:00
Romain Dessort 7c7de1b6f1 Fix a bug when redirecting stderr in mongodump command. 2011-09-08 13:37:31 +02:00
atomei 9272184e41 Remove vmlinuz, since it does no longer exist 2011-08-22 17:23:24 +02:00
Romain Dessort d9303b062f Add an example to dump Mongo databases 2011-08-17 11:02:39 +02:00
Romain Dessort 28f179c60a Exclude /var/lib/postgresql 2011-07-01 17:28:43 +02:00
Romain Dessort 0fe492a484 Fix a bug while getting mysql instance's port
Tabulations characters wasn't handled correctly, and $instance variable
didn't contain correct port value.
2011-06-11 09:50:19 +02:00
Romain Dessort 9d322b4e2a Check if evobackup already running before launch it 2011-05-24 11:24:28 +02:00
Romain Dessort 824fff557e Ignore certain slapcat warnings (unclean shutdown...) 2011-05-24 11:17:49 +02:00
Gregory Colpart 73df2f04f9 Add --force option to rsync, to enable deleting non-empty dirs 2010-12-09 23:20:22 +01:00
Gregory Colpart 422069e40c Improve a way of mysqldump 2010-11-30 20:27:05 +01:00
Gregory Colpart 1d96b82b43 Delete so stupid space 2010-10-26 01:18:17 +02:00
Gregory Colpart b99d62ac97 Add /var/lib/metche in --exclude list 2010-09-30 20:55:14 +02:00
Gregory Colpart f184017820 Now in Git! 2010-09-09 01:07:03 +02:00