/[smecontribs]/rpms/smeserver-automysqlbackup/contribs10/smeserver-automysqlbackup-AdjustableCronJob.patch
ViewVC logotype

Annotation of /rpms/smeserver-automysqlbackup/contribs10/smeserver-automysqlbackup-AdjustableCronJob.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sun Jan 31 23:54:21 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-automysqlbackup-3_0_RC6-30_el7_sme, smeserver-automysqlbackup-3_0_RC6-26_el7_sme, smeserver-automysqlbackup-3_0_RC6-20_el7_sme, smeserver-automysqlbackup-3_0_RC6-27_el7_sme, smeserver-automysqlbackup-3_0_RC6-21_el7_sme, smeserver-automysqlbackup-3_0_RC6-32_el7_sme, smeserver-automysqlbackup-3_0_RC6-24_el7_sme, smeserver-automysqlbackup-3_0_RC6-28_el7_sme, smeserver-automysqlbackup-3_0_RC6-31_el7_sme, smeserver-automysqlbackup-3_0_RC6-29_el7_sme, smeserver-automysqlbackup-3_0_RC6-22_el7_sme, smeserver-automysqlbackup-3_0_RC6-19_el7_sme, smeserver-automysqlbackup-3_0_RC6-18_el7_sme, smeserver-automysqlbackup-3_0_RC6-17_el7_sme, smeserver-automysqlbackup-3_0_RC6-16_el7_sme, smeserver-automysqlbackup-3_0_RC6-23_el7_sme, HEAD
patches

1 jpp 1.1 diff -Nur smeserver-automysqlbackup-3.0.RC6.bz10175.old/root/createlinks smeserver-automysqlbackup-3.0.RC6.bz10175.new/root/createlinks
2     --- smeserver-automysqlbackup-3.0.RC6.bz10175.old/createlinks 1970-01-01 01:00:00.000000000 +0100
3     +++ smeserver-automysqlbackup-3.0.RC6.bz10175.new/createlinks 2017-04-02 18:09:10.544745048 +0200
4     @@ -0,0 +1,16 @@
5     +#!/usr/bin/perl -w
6     +
7     +use esmith::Build::CreateLinks qw(:all);
8     +
9     +####################
10     +# links to add
11     +
12     +# templates to expand
13     +for my $event (qw(
14     +bootstrap-console-save
15     +console-save
16     +automysqlbackup-update
17     +))
18     +{
19     + templates2events( "/etc/cron.d/runmysqlbackup" , $event );
20     +}
21     diff -Nur smeserver-automysqlbackup-3.0.RC6.bz10175.old/root/etc/cron.daily/runmysqlbackup smeserver-automysqlbackup-3.0.RC6.bz10175.new/root/etc/cron.daily/runmysqlbackup
22     --- smeserver-automysqlbackup-3.0.RC6.bz10175.old/root/etc/cron.daily/runmysqlbackup 2014-08-17 22:32:37.000000000 +0200
23     +++ smeserver-automysqlbackup-3.0.RC6.bz10175.new/root/etc/cron.daily/runmysqlbackup 1970-01-01 01:00:00.000000000 +0100
24     @@ -1,11 +0,0 @@
25     -#~~~~ Copy From Below Here ~~~~
26     -#!/bin/sh
27     -
28     -/usr/local/bin/automysqlbackup /etc/automysqlbackup/myserver.conf
29     -
30     -chown root.root /root/backup/db* -R
31     -find /root/backup/db* -type f -exec chmod 400 {} \;
32     -find /root/backup/db* -type d -exec chmod 700 {} \;
33     -
34     -#~~~~~ Copy To Above Here ~~~~
35     -
36     diff -Nur smeserver-automysqlbackup-3.0.RC6.bz10175.old/root/etc/e-smith/db/configuration/defaults/automysqlbackup/Hour smeserver-automysqlbackup-3.0.RC6.bz10175.new/root/etc/e-smith/db/configuration/defaults/automysqlbackup/Hour
37     --- smeserver-automysqlbackup-3.0.RC6.bz10175.old/root/etc/e-smith/db/configuration/defaults/automysqlbackup/Hour 1970-01-01 01:00:00.000000000 +0100
38     +++ smeserver-automysqlbackup-3.0.RC6.bz10175.new/root/etc/e-smith/db/configuration/defaults/automysqlbackup/Hour 2017-04-02 18:04:23.488317618 +0200
39     @@ -0,0 +1 @@
40     +4
41     diff -Nur smeserver-automysqlbackup-3.0.RC6.bz10175.old/root/etc/e-smith/db/configuration/defaults/automysqlbackup/Minute smeserver-automysqlbackup-3.0.RC6.bz10175.new/root/etc/e-smith/db/configuration/defaults/automysqlbackup/Minute
42     --- smeserver-automysqlbackup-3.0.RC6.bz10175.old/root/etc/e-smith/db/configuration/defaults/automysqlbackup/Minute 1970-01-01 01:00:00.000000000 +0100
43     +++ smeserver-automysqlbackup-3.0.RC6.bz10175.new/root/etc/e-smith/db/configuration/defaults/automysqlbackup/Minute 2017-04-02 17:56:06.200577163 +0200
44     @@ -0,0 +1 @@
45     +1
46     diff -Nur smeserver-automysqlbackup-3.0.RC6.bz10175.old/root/etc/e-smith/templates/etc/cron.d/runmysqlbackup/10base smeserver-automysqlbackup-3.0.RC6.bz10175.new/root/etc/e-smith/templates/etc/cron.d/runmysqlbackup/10base
47     --- smeserver-automysqlbackup-3.0.RC6.bz10175.old/root/etc/e-smith/templates/etc/cron.d/runmysqlbackup/10base 1970-01-01 01:00:00.000000000 +0100
48     +++ smeserver-automysqlbackup-3.0.RC6.bz10175.new/root/etc/e-smith/templates/etc/cron.d/runmysqlbackup/10base 2017-04-02 18:04:09.279296461 +0200
49     @@ -0,0 +1 @@
50     +{${'automysqlbackup'}{'Minute'}||'1'} {${'automysqlbackup'}{'Hour'}||'3'} * * * root /sbin/e-smith/runmysqlbackup
51     diff -Nur smeserver-automysqlbackup-3.0.RC6.bz10175.old/root/sbin/e-smith/runmysqlbackup smeserver-automysqlbackup-3.0.RC6.bz10175.new/root/sbin/e-smith/runmysqlbackup
52     --- smeserver-automysqlbackup-3.0.RC6.bz10175.old/root/sbin/e-smith/runmysqlbackup 1970-01-01 01:00:00.000000000 +0100
53     +++ smeserver-automysqlbackup-3.0.RC6.bz10175.new/root/sbin/e-smith/runmysqlbackup 2017-04-02 18:11:38.223964943 +0200
54     @@ -0,0 +1,7 @@
55     +#!/bin/sh
56     +
57     +/usr/local/bin/automysqlbackup /etc/automysqlbackup/myserver.conf >/dev/null
58     +
59     +chown root:root /root/backup/db* -R
60     +find /root/backup/db* -type f -exec chmod 400 {} \;
61     +find /root/backup/db* -type d -exec chmod 700 {} \;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed