1 |
Summary: Makes the SME server a dedicated backup server |
Summary: A rsync-based backup program for linux, adapted to sme server 8-9 |
2 |
%define name smeserver-affa |
%define name smeserver-affa |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 2.0.0 |
%define version 3.2.2.3 |
5 |
%define release rc4 |
%define release 6 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
Vendor: Michael Weinberger <Michael.Weinberger@neddix.de> |
Vendor: Michael Weinberger <mweinber AT users DOT sourceforge DOT net> //// adaptation to sme-server Arnaud Guillaume <smeserver-affa AT guedel DOT eu> |
9 |
License: GNU General Public License |
License: GNU General Public License |
10 |
Group: Applications/Archiving |
Group: Applications/Archiving |
11 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
12 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
13 |
BuildArch: noarch |
BuildArch: noarch |
14 |
AutoReq: no |
AutoReq: no |
15 |
Requires: smeserver-release >= 7.3 |
|
16 |
Requires: rsync >= 3.0.4 |
Requires: openssh-clients |
17 |
|
Requires: perl-Config-IniFiles |
18 |
Requires: perl-Filesys-DiskFree |
Requires: perl-Filesys-DiskFree |
19 |
Requires: perl-Compress-Bzip2 |
Requires: perl-MailTools |
20 |
BuildRequires: e-smith-devtools |
Requires: perl-Proc-ProcessTable |
21 |
|
Requires: perl-TimeDate |
22 |
|
Requires: rsync |
23 |
|
|
24 |
|
Patch1: smeserver-affa-fix-typo.patch |
25 |
|
Patch2: smeserver-affa-fix-rise_RPMCheck_smb_diskusage.patch |
26 |
|
Patch3: smeserver-affa-fix-ssh-port.patch |
27 |
|
Patch4: smeserver-affa-fix-blanks-conf.patch |
28 |
|
Patch5: smeserver-affa-fix-imapfiles-find.patch |
29 |
|
|
30 |
%description |
%description |
31 |
http://wiki.contribs.org/Affa |
Affa is a rsync-based backup program |
32 |
http://wiki.contribs.org/Backup_of_ESXi_Virtual_Machines_using_Affa |
Documentation: http://affa.sf.net |
33 |
|
with SMEServer + RPMCheck + Watchdog + rise |
34 |
|
|
35 |
%prep |
%prep |
36 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
37 |
|
%patch1 -p1 |
38 |
|
%patch2 -p1 |
39 |
|
%patch3 -p1 |
40 |
|
%patch4 -p1 |
41 |
|
%patch5 -p1 |
42 |
|
|
43 |
%build |
%build |
44 |
|
|
45 |
%install |
%install |
46 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
47 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
48 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ;find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
49 |
|
|
|
perl createlinks $RPM_BUILD_ROOT |
|
50 |
|
|
51 |
# Set version String |
# Set version String |
52 |
cp -a $RPM_BUILD_ROOT/sbin/e-smith/affa $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp |
cp -a $RPM_BUILD_ROOT/sbin/affa $RPM_BUILD_ROOT/sbin/affa.tmp |
53 |
VERSIONSTRING=%{version}-`echo %{release}|sed -e 's/\..*$//'` |
VERSIONSTRING=%{version}-`echo %{release}|sed -e 's/\..*$//'` |
54 |
sed -e "s/my \$VERSION.*;/my \$VERSION='$VERSIONSTRING';/" < $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp > $RPM_BUILD_ROOT/sbin/e-smith/affa |
sed -e "s/my \$VERSION.*;/my \$VERSION='$VERSIONSTRING';/" < $RPM_BUILD_ROOT/sbin/affa.tmp > $RPM_BUILD_ROOT/sbin/affa |
55 |
rm -f $RPM_BUILD_ROOT/sbin/e-smith/affa.tmp |
rm -f $RPM_BUILD_ROOT/sbin/affa.tmp |
56 |
|
|
57 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
58 |
|
|
59 |
find $RPM_BUILD_ROOT -depth -type f -print |\ |
find $RPM_BUILD_ROOT -depth -type f -print |\ |
60 |
sed -e "s@^$RPM_BUILD_ROOT@@g" \ |
sed -e "s@^$RPM_BUILD_ROOT@@g" \ |
61 |
-e "s@^/sbin/e-smith/@%attr(0750,root,root) &@"\ |
-e "s@^/sbin/@%attr(0750,root,root) &@"\ |
|
-e "s@^/usr/lib/perl5/@%attr(0644,root,root) &@"\ |
|
62 |
-e "s@^/etc/profile.d/@%attr(0555,root,root) &@"\ |
-e "s@^/etc/profile.d/@%attr(0555,root,root) &@"\ |
63 |
-e "s@^/etc/e-smith/templates/@%attr(0644,root,root) &@"\ |
-e "s@^/etc/sudoers.d/@%attr(0440,root,root) &@"\ |
64 |
-e "s@^/usr/lib/affa/COPYING@%attr(0444,root,root) &@"\ |
-e "s@^/etc/cron.d/@%attr(0444,root,root)%config(noreplace) &@"\ |
65 |
-e "s@^/usr/lib/affa/@%attr(0750,root,root) &@"\ |
-e "s@^/usr/lib/affa/LICENSE@%attr(0444,root,root) &@"\ |
66 |
|
-e "s@^/usr/lib/affa/WARRANTY@%attr(0444,root,root) &@"\ |
67 |
|
-e "s@^/usr/man/man1/@%attr(0444,root,root) &@"\ |
68 |
|
-e "s@^/etc/affa/scripts/@%attr(0750,root,root)%config(noreplace) &@"\ |
69 |
|
-e "s@^/etc/affa/@%attr(0640,root,root)%config(noreplace) &@"\ |
70 |
>> %{name}-%{version}-filelist |
>> %{name}-%{version}-filelist |
71 |
|
|
72 |
|
|
73 |
|
find $RPM_BUILD_ROOT -depth -type d -print |\ |
74 |
|
sed -e "s@^$RPM_BUILD_ROOT@%dir @g" >> %{name}-%{version}-filelist |
75 |
|
|
76 |
find $RPM_BUILD_ROOT -depth -type l -print |\ |
find $RPM_BUILD_ROOT -depth -type l -print |\ |
77 |
sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
78 |
|
|
79 |
%clean |
%clean |
80 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
|
exit 0 |
|
|
|
|
81 |
|
|
82 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
83 |
%defattr(-,root,root) |
%defattr(-,root,root) |
84 |
|
|
85 |
|
%pre |
86 |
|
exit 0 |
87 |
|
|
88 |
|
%post |
89 |
|
exit 0 |
90 |
|
|
91 |
|
%preun |
92 |
|
exit 0 |
93 |
|
|
94 |
|
%postun |
95 |
|
exit 0 |
96 |
|
|
97 |
%changelog |
%changelog |
98 |
* Sun Jan 25 2009 Michael Weinberger 2.0.0-rc4 |
* Wed Nov 23 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 3.2.2.3-7.sme |
99 |
Bugfix: --send-status was broken |
- Fix find command error in delete imap dovecot files [SME: 9874] |
100 |
Added disk usages to Success Message |
|
101 |
|
* Fri Aug 19 2016 Arnaud Guillaume <smeserver-affa@guedel.eu> 3.2.2.3-6.sme |
102 |
* Fri Jan 23 2009 Michael Weinberger 2.0.0-rc3 |
- Fix issue due to blank characters into file /etc/affa/job.conf [SME: 9449] |
103 |
Bugfix: --mailtest: mail from remote watchdog was not sent |
|
104 |
|
* Fri Aug 19 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 3.2.2.3-5.sme |
105 |
* Sun Jan 10 2009 Michael Weinberger 2.0.0-rc2 |
- Fix ssh port [SME: 8904] |
106 |
- Workaround to catch Dropbear rsync errors (ESXi Mode) |
- Modify changelog number to track define release number |
107 |
|
|
108 |
* Sun Jan 04 2009 Michael Weinberger 2.0.0-rc1 |
* Wed Mar 23 2016 Arnaud Guillaume <smeserver-affa@guedel.eu> 3.2.2.3-4.sme |
109 |
- no changes |
- Fix use of uninitialized value $1 in concatentation (.) or string at /sbin/affa/ line 4059 [SME: 9139] |
110 |
|
- Fix "RPMCheck" not working [SME: 9270] |
111 |
* Fri Jan 02 2009 Michael Weinberger 2.0.0-beta21 |
- Fix Inconsistent smb.conf when samba share option set to "yes" [SME: 9298] |
112 |
- show last execution time in --show-schedule |
- Fix affa --diskusage does not umount attached storage [SME: 9147] |
113 |
|
|
114 |
* Thu Jan 01 2009 Michael Weinberger 2.0.0-beta20 |
* Mon Feb 29 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 3.2.2.3-3.sme |
115 |
- Fixed calculation of compression rate in chunkfile() |
- Fix typos in config files [SME: 9094] |
116 |
- Changed format of --list-archives output: added Exec Time and Bytes received |
|
117 |
- Changed format of --status: added Exec Time, removed Disk usage |
* Tue Sep 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 3.2.2.3-2.sme |
118 |
- Output formatted table in --disk-usage |
- Initial release to contribs9 |
119 |
- added --debug CLI switch |
|
120 |
|
* Tue Sep 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 3.2.2.3-1 |
121 |
|
- fixed column ExecTime shift |
122 |
* Tue Dec 30 2008 Michael Weinberger 2.0.0-beta19 |
- Adjusted column indices in report |
123 |
- Retry feature added, new props RetryAfter,RetryAttempts and RetryNotification |
- Fixed typo in remoteHostName [SME: 9062] |
124 |
- Dependency rsync >= 3.0.4 added to spec file |
- Code done by mats schuh <m.schuh@neckargeo.net> |
125 |
- Append job status on testmail (because spam filter on receiver site) |
|
126 |
- log total execution time |
* Tue Jan 13 2015 mats schuh <m.schuh@neckargeo.net> 3.2.2.2-1 |
127 |
|
- Added TotalBytesSent to archive reports and fixed report layout |
128 |
* Fri Dec 26 2008 Michael Weinberger 2.0.0-beta18 |
|
129 |
- bugfix check-connections: in ssh check in rsyncd mode |
* Sun Dec 07 2014 Arnaud Guillaume 3.2.2.2 |
130 |
- Bug 4888 fixed: escape single quotes in source dir names |
- integration of the patch of Mats Schuh in order to enable check for external disk label before unmount |
131 |
- Bug 4882 fixed: LVM mapped devices |
* Sat Aug 23 2014 Arnaud Guillaume 3.2.2.1 |
132 |
|
- adapted to the new release of rsync (bug by calculating the number and the size of the transfered files) |
133 |
* Fri Dec 19 2008 Michael Weinberger 2.0.0-beta17 |
* Sat Apr 05 2014 Arnaud Guillaume 3.2.2.0 |
134 |
- dont chunk ESXi vmdk files in linkdest archive that will be deleted afterwards |
- first adaptation for sme server8 |
135 |
- show disk usage at time at job run in --status |
* Sun Mar 04 2012 Michael Weinberger 3.2.2 |
136 |
- new option --disk-usage shows current disk usage of all Root Dirs |
- Improved NRPE and sudoers config |
137 |
- Bug 4852 fixed |
- Fixed bug in DiskUsageRaw() |
138 |
- Modifications to allow backup of specific files (Bug 4853) |
- Added NRPE command affa_diskusagenrpe |
139 |
|
* Fri Mar 02 2012 Michael Weinberger 3.2.1 |
140 |
* Thu Dec 11 2008 Michael Weinberger 2.0.0-beta16 |
- Bugfix: command_prefix definiton was not added to /etc/nagios/affa-nrpe.cfg |
141 |
- shorten command line of rsync command when syncing ESXi VM. Dropbear has limits |
* Thu Mar 01 2012 Michael Weinberger 3.2.0 |
142 |
|
- Bugfix: remoteRsyncBinary and localRsyncBinary was not used |
143 |
* Wed Dec 10 2008 Michael Weinberger 2.0.0-beta15 |
* Sun Feb 26 2012 Michael Weinberger 3.1.7 |
144 |
- chunk feature now working for all job types |
- Bugfixes in showSchedule() |
145 |
- new property chunkFiles |
* Sun Feb 26 2012 Michael Weinberger 3.1.6 |
146 |
- new options --chunk-archive and --unchunk-archive |
- added ICINGA/Nagios auto-configuration |
147 |
|
* Fri Feb 24 2012 Michael Weinberger 3.1.4 |
148 |
* Mon Dec 08 2008 Michael Weinberger 2.0.0-beta14 |
- do not show Dedup interrupted in --status after the very first run |
149 |
- --delete-job: Delete logfile |
- improved --nrpe function |
150 |
- samba template for Affa archives |
- added script yum_install_packages.sh |
151 |
- Bugfix: snapshot was removed to early. Wrong vmx file copied |
* Tue Oct 11 2011 Michael Weinberger 3.1.3 |
152 |
- disabled chunk feature for now. Needs more testing |
- MINOR IMPROVEMENTS |
153 |
|
--send-key: mkdir of RemoteAuthorizedKeysFile. Avoid errors if dir does not exist |
154 |
* Sun Dec 07 2008 Michael Weinberger 2.0.0-beta12 |
--log-tail: show last rotated if current log is empty or too short |
155 |
- using perl Compress::Bzip2 |
--check-conncetions: allow jobs as arguments |
156 |
|
* Sun Aug 29 2011 Michael Weinberger 3.1.2 |
157 |
* Sat Dec 06 2008 Michael Weinberger 2.0.0-beta11 |
- Bugfix: postJobCommand and postJobCommandRemote were not executed |
158 |
- replaced gzip by bzip2 as gzip inserts timestamps |
* Sat Aug 13 2011 Michael Weinberger 3.1.1 |
159 |
|
- process state 'rsync interrupted' and 'dedup interrupted' |
160 |
* Wed Dec 04 2008 Michael Weinberger 2.0.0-beta10 |
- --resume-interrupted |
161 |
- bugfixes |
- resume interrupted jobs after server boot |
162 |
|
* Sun Aug 07 2011 Michael Weinberger 3.1.0-1 |
163 |
* Wed Dec 04 2008 Michael Weinberger 2.0.0-beta09 |
- introduced status 'interrupted'(with --status) |
164 |
- chunk and compress vmdk files |
* Fri Aug 05 2011 Michael Weinberger 3.1.0-0 |
165 |
|
- Release of 3.1.0 |
166 |
* Thu Nov 27 2008 Michael Weinberger 2.0.0-beta08 |
* Thu Aug 04 2011 Michael Weinberger 3.0.2-14 |
167 |
- allow special characters in VM name and pathes |
- de-duplicate, execPreJobCommand and execPostJobCommand only on scheduled run |
168 |
|
- removed Command arg from sample scripts |
169 |
* Tue Nov 11 2008 Michael Weinberger 2.0.0-beta07 |
- Fixed: Concatenated config in /tmp was world readable |
170 |
- New Dropbear Version 0.51 did not work stable. Stay with original 0.49 and th exit status bug |
- De-duplication info added to --show-schedule |
171 |
- Modified Affa to not to check exit status of ssh and rsync command |
* Tue Aug 02 2011 Michael Weinberger 3.0.2-6 |
172 |
|
- De-Duplication (freedup) |
173 |
* Sat Nov 08 2008 Michael Weinberger 2.0.0-beta06 |
- De-Dup info in --status and --list-archives |
174 |
- FIXED: rsync did not work for VM with blanks in name |
- --status: only show enabled jobs. All with --all |
175 |
- SSH exit codes now checked as Dropbear 0.51 is used on ESX3i host |
- Fix: property globalStatus was not working |
176 |
|
- Running state rsync or de-deduplicating display in --status |
177 |
* Tue Nov 04 2008 Michael Weinberger 2.0.0-beta05 |
- Show de-deduplicating busy in --list-archives for scheduled.0 |
178 |
- log msg and exit if VI Pert Tool Kit installed |
- new property dedupKill. When set no, --kill does not kill a job when de-duplicating |
179 |
- Fixed: in job sample scripts create affa db if not exists |
- new option --show-property |
180 |
|
|
181 |
* Tue Nov 04 2008 Michael Weinberger 2.0.0-beta04 |
* Wed Jul 27 2011 Michael Weinberger 3.0.1-7 |
182 |
- Allow setups with dailyKeep=0, weeklyKeep=0, monthlyKeep=0 or yearlyKeep=0 |
- Bug fixes: RemoteUser was not always used in ssh commands |
183 |
- Fixed: Yearly archives not listed in --status and --list-archives |
|
184 |
|
* Sun Jul 24 2011 Michael Weinberger 3.0.1-6 |
185 |
* Mon Nov 03 2008 Michael Weinberger 2.0.0-beta03 |
- fixed bug in affa --status |
186 |
- cleaner logging of VI API errors |
- GlobalAffaConfig was mounted as Samba share |
187 |
- backing up ESXi server config and root home dir |
- call setupSamba() only in cronSetup() |
188 |
- Checking VI API connect in --check-connections |
- updated man |
189 |
|
|
190 |
* Sun Nov 02 2008 Michael Weinberger 2.0.0-beta02 |
* Sat Jul 23 2011 Michael Weinberger 3.0.1-5 |
191 |
- Fixed: Log file excerpt was not appened to Email. |
- new key NRPEtrigger |
192 |
- Fixed: checkConnection() did not work for ESXi |
- full affa path required when starting re-run from cronjob |
193 |
- Fixed: ssh find command did not use the HostKeyAlias option |
- improved deletion of shift out archives, --delete-job and --cleanup |
194 |
- Catch die from VI Toolkit |
- added --single-transaction to /etc/affa/scripts/mysql-dump-tables |
|
- Close VI API session while rsyncing |
|
|
|
|
|
* Fri Oct 31 2008 Michael Weinberger 2.0.0-beta01 |
|
|
- ESXi support added |
|
|
|
|
|
* Tue May 27 2008 Michael Weinberger 1.0.0-3 |
|
|
Re-added type 'desktop' to pre-backup event for SME6 compatibility |
|
|
* Tue Apr 22 2008 Michael Weinberger 1.0.0-2 |
|
|
Bug fix #4210, command "affa --show-schedule" executes postJobCommand |
|
|
* Fri Apr 04 2008 Michael Weinberger 1.0.0-1 |
|
|
Final release |
|
|
man page updated |
|
|
* Fri Apr 04 2008 Michael Weinberger 0.10.0-2 |
|
|
added --all option to --rise |
|
|
* Mon Mar 10 2008 Michael Weinberger 0.10.0-1 |
|
|
Increased release number |
|
|
Added 10 sec timeout in Net::DNS::Resolver->search |
|
|
* Mon Mar 10 2008 Michael Weinberger 0.9.0-11 |
|
|
Specfile fix |
|
|
* Mon Mar 10 2008 Michael Weinberger 0.9.0-10 |
|
|
Delete locally created watchdog file after remotecopy |
|
|
Bugfix 4035 |
|
|
Added default AutoUnmount property to sample script |
|
|
Fix man page |
|
|
Do not delete md5sum in --create-backup-file when verify is skipped by user |
|
|
Set lock in --create-backup-file |
|
|
* Sun Mar 09 2008 Michael Weinberger 0.9.0-9 |
|
|
trap signals in --create-backup-file |
|
|
* Sat Mar 08 2008 Michael Weinberger 0.9.0-8 |
|
|
Permissions in /usr/lib/affa |
|
|
* Sat Mar 08 2008 Michael Weinberger 0.9.0-7 |
|
|
md5sum in --create-backup-file |
|
|
* Fri Mar 07 2008 Michael Weinberger 0.9.0-6 |
|
|
Added option --create-backup-file |
|
|
Using line number as error code in affaErrorExit() |
|
|
Fixed /etc/profile.d/affa.sh |
|
|
|
|
|
* Mon Mar 03 2008 Michael Weinberger 0.9.0-5 |
|
|
- delete new style Dovecot's index files dovecot.index* |
|
|
- delete dovecot index files on remote server in --full-restore |
|
|
|
|
|
* Fri Feb 29 2008 Michael Weinberger 0.9.0-4 |
|
|
set localhost as default remoteHostName in /etc/e-smith/templates//etc/cron.d/affa/00jobs |
|
|
|
|
|
* Wed Feb 27 2008 Michael Weinberger 0.9.0-3 |
|
|
removed %post from spec file |
|
|
|
|
|
* Sat Feb 02 2008 Michael Weinberger 0.9.0-2 |
|
|
Bugfix: Report db was not deleted in deleteJob() |
|
|
don't use -q on ssh commands with Debug=yes |
|
|
|
|
|
* Fri Feb 1 2008 Shad L. Lords <slords@mail.com> 0.9.0-1 |
|
|
- Fix specfile for building in new buildsystem |
|
|
|
|
|
* Fri Jan 18 2008 Michael Weinberger |
|
|
Version 0.9.0 |
|
|
Bugfix: run cronSetup() after job delete |
|
|
Throw error if nothing was backed up (empty archive) |
|
|
Added rsyncd support for backing up Windows/Cygwin |
|
|
Added option and property remoteOS. Which remoteOS=cgywin the |
|
|
send key and revoke key functions use the right path to the |
|
|
authorized_keys2 file and login as user Administrator |
|
|
|
|
|
* Sat Dec 29 2007 Michael Weinberger |
|
|
Version 0.8.1 |
|
|
Automount Bugfix [Bug 3165]: Only exit with error on mount failure |
|
|
when in backup run. Otherwise log the error and continue. |
|
|
|
|
|
* Thu Dec 20 2007 Michael Weinberger |
|
|
Version 0.8.0 |
|
|
added bash completion script |
|
|
added option --kill JOB |
|
|
improved INT and TERM signal handling |
|
|
replaced all scp commands by rsync |
|
|
added poperty BandwidthLimit (unit KBytes/sec) |
|
|
each job write its own known hosts entry using ssh option HostKeyAliasOption |
|
|
affa --send-key w/o arguments sends the keys for all jobs |
|
|
removed Property StrictHostKeyChecking |
|
|
UPDATE FROM VERSIONS<8: run the command 'affa --send-key' to generate |
|
|
the known hosts entries for all jobs |
|
|
|
|
|
* Wed Dec 12 2007 Michael Weinberger |
|
|
Version 0.7.0 |
|
|
Modified logging: Job run logs to /var/log/affa/JOBNAME.log, all other |
|
|
to /var/log/affa/affa.log |
|
|
Bugfix: Check error status of --send-key and --revoke-key |
|
|
New: Options --show-schedule |
|
|
Modified: Option --list-archives now accepts multiple args or none |
|
|
Fix: install watchdog on source server before every run not only scheduled, |
|
|
to avoid watchdog triggered if a non-scheduled run take to long time. |
|
|
|
|
|
* Wed Nov 28 2007 Michael Weinberger |
|
|
Version 0.6.8 |
|
|
Bugfix: Automount was done too late. Daily backup never ran. |
|
|
|
|
|
* Wed Nov 21 2007 Michael Weinberger |
|
|
Version 0.6.7 |
|
|
Bugfix: Size and No. of files were not shown in --status |
|
|
Improved deleting of directories |
|
|
added --check-connections option |
|
|
Increased width of job column in --stats table |
|
|
|
|
|
* Sun Nov 11 2007 Michael Weinberger |
|
|
Version 0.6.6 |
|
|
Property rsync--modify-window added |
|
|
Modified recursive deleting directories |
|
|
|
|
|
* Wed Nov 07 2007 Michael Weinberger |
|
|
Version 0.6.5 |
|
|
ssh options added to scp commands |
|
|
added post-backup event |
|
|
|
|
|
* Wed Aug 08 2007 Michael Weinberger |
|
|
Version 0.6.4 |
|
|
delete dovcot index files after a --rise |
|
|
|
|
|
* Thu Jul 05 2007 Michael Weinberger |
|
|
Version 0.6.3 |
|
|
Bugfix: with RPMCheck=yes the affa-rpmlist was not found in the |
|
|
archive. Wrong path to schedule.0 instead of scheduled.running. |
|
|
Side effect of changes in version 0.5.0. [Bug 3128] |
|
|
|
|
|
* Tue Jul 03 2007 Michael Weinberger |
|
|
Version 0.6.2 |
|
|
Bugfix: Filesys::DiskFree requires $ENV{LANG}="en_US" [Bug 3119] |
|
|
Bug reported to bug-Filesys-DiskFree [at] rt.cpan.org |
|
|
|
|
|
* Mon Jun 25 2007 Michael Weinberger |
|
|
Version 0.6.1 |
|
|
Fix 3080 was not applied. |
|
|
|
|
|
* Mon Jun 18 2007 Michael Weinberger |
|
|
Version 0.6.0 |
|
|
- Replaced Filesys::DiskSpace by Filesys::DiskFree as the latter |
|
|
supports CIFS file system |
|
|
- using Filesys::DiskFree->mount and ->device instead of scanning /proc/mounts |
|
|
- mkdir RootDir only on job run to avoid making it in an unmounted mountpoint |
|
|
|
|
|
* Mon Jun 18 2007 Michael Weinberger |
|
|
Version 0.5.2 |
|
|
- Sending ssh key failed. When grep returned an error |
|
|
the mv command was not executed. Using ';' instead of '&&' |
|
|
for chaining commands. [Bug 3080] |
|
|
- /root/.ssh/authorized_keys2: No such file or directory warning. |
|
|
Run a touch to guarantee, that the file exists. [Bug 3080] |
|
|
- same issue with --revoke-key |
|
|
|
|
|
* Thu Jun 14 2007 Michael Weinberger |
|
|
Version 0.5.1 |
|
|
- Bugfix automount: getStatus() unmounts the device while a job is running |
|
|
- Status table: Last=never, if there are no archives at all |
|
|
|
|
|
* Tue Jun 12 2007 Michael Weinberger |
|
|
Version 0.5.0 |
|
|
- New property AutomountOptions |
|
|
- status table: grouped disabled jobs. Show Last='-' for disabled jobs |
|
|
instead of 'failed' |
|
|
- unlink lockfile in getLock() |
|
|
- Changes to improve robustness in case of network outage: |
|
|
- writing to a temporary archive scheduled.running and linkdest |
|
|
against the latest existing archive (usually scheduled.0). Then |
|
|
shift archives and rename scheduled.running to scheduled.0 |
|
|
- scheduledKeep=1 is now allowed |
|
|
- also check connection in daily,weekly etc., not only in scheduled run |
|
|
- don't run daily, weekly, monthly or yearly, when scheduled.0 doesn't exist. |
|
|
- new option --revoke-key |
|
|
- added optional option --revoke-key to --delete-job |
|
|
- avoid multiple adding public key to authorized_keys2 on source server |
|
|
|
|
|
* Wed Jun 06 2007 Michael Weinberger |
|
|
Version 0.4.7 |
|
|
- use StrictHostKeyChecking=no in sendKeys() |
|
|
|
|
|
* Tue Jun 05 2007 Michael Weinberger |
|
|
Version 0.4.6 |
|
|
- mailtest: Send also a testmail from the remotehost, when property Watchdog=yes |
|
|
- removed useless code in mailTestWatchdogRemote() |
|
|
|
|
|
* Mon Jun 04 2007 Michael Weinberger |
|
|
Version 0.4.5 |
|
|
write job config file to the archive dir |
|
|
|
|
|
* Thu May 31 2007 Michael Weinberger |
|
|
Version 0.4.4 |
|
|
- added property StrictHostKeyChecking (ssh option) |
|
|
- string comparison instead of numric for $job{'doneYearly'} ne $thisYear etc. |
|
|
|
|
|
* Wed May 30 2007 Michael Weinberger |
|
|
Version 0.4.3 |
|
|
- Minor bugfixes: |
|
|
calculation of RootDirFilesystemUsage in .AFFA-REPORT |
|
|
improved error handling with rsync status and df in DiskspaceWarn() |
|
|
|
|
|
* Thu May 29 2007 Michael Weinberger |
|
|
- Version 0.4.2 |
|
|
Infinite loop in execPostJobCommand() if command could not be executed: |
|
|
Don't call execPostJobCommand() in affaErrorExit() if err==115 |
|
|
- RPMCheck property was ignored |
|
|
- added Property chattyOnSuccess |
|
|
- modified jobconfig-sample.pl to preserve 'doneDaily','doneWeekly', |
|
|
'doneMonthly','doneYearly' and 'chattyOnSuccess' |
|
|
- write error codes of affaErrorExit() to log |
|
|
|
|
|
* Thu May 24 2007 Michael Weinberger |
|
|
- Version 0.4.1 |
|
|
- fixed bug in disk usage calculation |
|
|
|
|
|
* Tue May 22 2007 Michael Weinberger |
|
|
- Version 0.4.0 |
|
|
- added option --rename-job |
|
|
- changed syntax of --send-keys |
|
|
- added option --move-archive |
|
|
|
|
|
* Sun May 20 2007 Michael Weinberger |
|
|
- Version 0.3.3 |
|
|
- rebuild cronjobs after rise/undorise |
|
|
- ignore job of own backup, when creating cronjobs (job appears after a rise run) |
|
|
|
|
|
* Sun May 20 2007 Michael Weinberger |
|
|
- Version 0.3.2 |
|
|
- man: added sshPort propperty |
|
|
- chdir /tmp to avoid cwd warnings when the cwd disappears while |
|
|
running rise or undo rise |
|
|
- bugfix: undorise() did not found own backup archive. Was searching for a wrong name |
|
|
|
|
|
* Wed May 16 2007 Michael Weinberger |
|
|
- Version 0.3.1 minor bugfixes |
|
|
- checkCrossFS() did not work (used in --rise) |
|
|
- jobconfig-sample.pl: deleting record before setting props |
|
|
- Perl errors with --status before a job run |
|
|
|
|
|
* Thu May 10 2007 Michael Weinberger |
|
|
- Version 0.3.0 |
|
|
- man page completed |
|
|
- mark archives with indices > keep setting with '*' in --list-acrchive output |
|
|
- Option --delete-job |
|
|
- Option --cleanup |
|
|
- added --job=JOB alternative to --send-keys |
|
|
|
|
|
* Wed May 09 2007 Michael Weinberger |
|
|
- Version 0.2.0 |
|
|
- added --mailtest option |
|
|
|
|
|
* Tue May 08 2007 Michael Weinberger |
|
|
- Version 0.1.5 |
|
|
- improved --status output |
|
|
- removed options --report and --send-report |
|
|
- added option --show-archives |
|
|
- added --csv for status and show-archives output in CSV format |
|
|
- added property 'sshPort' |
|
|
|
|
|
* Mon May 07 2007 Michael Weinberger |
|
|
- Version 0.1.4 |
|
|
- don't install the remote watchdog, when remotehost is eq localhost |
|
|
- improved check for remoteHostName eq localhost using DNS |
|
|
- ssh -o PasswordAuthentication=no in checkConnection() |
|
|
- added --full-restore |
|
|
- missing check for HOSTNAME argument in --send-keys added |
|
|
improved error check |
|
|
- prevent run of --rise of localhost from own backup |
|
|
|
|
|
* Mon Apr 30 2007 Michael Weinberger |
|
|
- Version 0.1.3 |
|
|
modified 'use constant* syntax in watchdog script for compatibility |
|
|
with perl 5.6 on SME6 |
|
|
|
|
|
* Fri Apr 27 2007 Michael Weinberger |
|
|
- Version 0.1.2 |
|
|
Bugfix: Preserve of ethernet driver setting with --rise did not work. |
|
|
Also preserve NIC bonding. |
|
|
|
|
|
* Mon Apr 23 2007 Michael Weinberger |
|
|
- Version 0.1.1 |
|
|
scheduledKeep must be>=2 for --link-dest |
|
|
set scheduledKeep to 2 if <2 |
|
|
- get lastrun date from affa-report rather than from report file |
|
|
- added auto mount function |
|
|
- added AutomountDevice and AutomountPoint to jobconfig-sample.pl |
|
|
|
|
|
* Wed Apr 18 2007 Michael Weinberger |
|
|
- Version 0.0.8 |
|
|
dont die if report db does not exist |
|
|
|
|
|
* Wed Apr 18 2007 Michael Weinberger |
|
|
- Version 0.0.7 |
|
|
run checkConnection() only for scheduled backups |
|
|
added Size and Disk usage information to --status |
|
|
|
|
|
* Tue Apr 17 2007 Michael Weinberger |
|
|
- Version 0.0.7 |
|
|
print Servername in --status output |
|
|
|
|
|
* Thu Apr 12 2007 Michael Weinberger |
|
|
- Version 0.0.5 |
|
|
fixed calculation of lastrun-now |
|
|
|
|
|
* Thu Apr 12 2007 Michael Weinberger |
|
|
- Version 0.0.4 |
|
|
- added --send-status plus templates |
|
|
- fixed format error of times in affa --status |
|
|
- show 'failed', if lastrun is older 1 day in affa --status |
|
|
- fixed typo. default status=disabled (was disable) |
|
|
|
|
|
* Fri Apr 06 2007 Michael Weinberger |
|
|
- Version 0.0.3 |
|
|
- watchdog reminder was not deleted on soure |
|
|
- wrong version mismatch list in rpm compare |
|
195 |
|
|
196 |
* Thu Apr 05 2007 Michael Weinberger |
* Wed Jul 20 2011 Michael Weinberger 3.0.0-0 |
197 |
- added 'rsync--inplace' property |
- generic linux version made from Affa 2.0 (SME Version) |
198 |
|
|
199 |
* Mon Apr 02 2007 Michael Weinberger |
* Mon Apr 02 2007 Michael Weinberger |
200 |
- initial release |
- bash version re-written in Perl |
201 |
|
|