Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: dmay on October 04, 2006, 07:19:37 PM

Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 04, 2006, 07:19:37 PM
Jump to here for release announcement Oct 19, 2006:

http://forums.contribs.org/index.php?topic=34041.0

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: remstrus on October 05, 2006, 09:29:06 AM
Hey Darrell

Looking forward to this contrib, will install on a test server.

Phil
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 05, 2006, 04:00:23 PM
Quote from: "remstrus"
Hey Darrell

Looking forward to this contrib, will install on a test server.

Phil

So there is life out there :wink: I look forward to your test reports Phil.

Here are a few tips. Once you configure a backup job there are three ways to launch it. Automated via scheduled cron job, manual via the Backup panel or direct from the command line.

The output of automated jobs is e-mailed to admin. So the typical overnight backup will be e-mailed.

Manual jobs executed from the panel send output to /var/log/messages. Use the 'View log file' panel to monitor the job progress.

Command line you simply issue:

/etc/e-smith/events/actions/dar2-backup job

Replace job with your configured jobname. Output is direct to console.

For restores, best to use the panel only. It is possible to execute from the command line but you need to fully understand and populate restore.job db entries.

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 05, 2006, 04:46:53 PM
Code: [Select]
# rpm -qp --changelog smeserver-dar2-0.0.1-b1dmay.noarch.rpm

* Thu Oct 05 2006 Darrell May <dmay@myezserver.com>
- update actions dar2-backup/restore to support custom mount points
- [0.0.1-b1dmay]

Darrell
Title: testing new software
Post by: idyll on October 05, 2006, 04:55:19 PM
Hello.

SME 7.0, up to date.

I have been using the previous backup2USB for months, without issue.

I installed your new contrib, and the following error message is appearing. It is the same hardware, (USB connected 250GB Maxtor with the correct fstab for the earlier contrib, at least) as the older contrib was using. I have not de-installed your previous contrib. I kicked off a manual test job using the web GUI...

--------------
Oct  5 07:41:47 galadriel e-smith-bg: Creating /media/MobyDisk/911 dir
Oct  5 07:41:47 galadriel e-smith-bg: Connecting /media/MobyDisk/911 to /media/MobyDisk
Oct  5 07:41:47 galadriel e-smith-bg: mount: /media/MobyDisk is not a block device

-----------------

Any pointers to help me out? I'll post in the bug tracker.

thanks

regards,
patrick
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 05, 2006, 06:38:19 PM
Why are you using a custom mount point /media/MobyDisk for a standard usb disk? SME 7.x automatically supports an attached usb disk via /media/usbdisk.

I also expect you are not using beta 1. Grab the latest rpm. It supports custom mount points.

Darrell
Title: works like advertised
Post by: idyll on October 05, 2006, 08:05:08 PM
The beta 1 recognized my custom mount point. Works fine. I need to test some restores, etc.

I did not receive email when the task completed. Is this feature in place yet?

regards,

patrick
Title: Re: works like advertised
Post by: dmay on October 05, 2006, 08:31:35 PM
Quote from: "idyll"
The beta 1 recognized my custom mount point. Works fine. I need to test some restores, etc.

Excellent!

Quote from: "idyll"
I did not receive email when the task completed. Is this feature in place yet?

Yes. As stated only automatic scheduled jobs run by cron are e-mailed.

Quote
The output of automated jobs is e-mailed to admin. So the typical overnight backup will be e-mailed.

Manual jobs executed from the panel send output to /var/log/messages. Use the 'View log file' panel to monitor the job progress.

Command line you simply issue:

/etc/e-smith/events/actions/dar2-backup job

Replace job with your configured jobname. Output is direct to console.

Darrell
Title: new output
Post by: idyll on October 05, 2006, 08:47:19 PM
This little summary, included in the logfiles of the manually created job, is very cool and potentially very useful.

Awesome.

regards,

patrick

--------------------------------------------
Oct  5 10:59:38 galadriel e-smith-bg:  25728 inode(s) saved
Oct  5 10:59:38 galadriel e-smith-bg:  with 99 hard link(s) recorded
Oct  5 10:59:38 galadriel e-smith-bg:  0 inode(s) changed at the moment of the backup
Oct  5 10:59:38 galadriel e-smith-bg:  0 inode(s) not saved (no file change)
Oct  5 10:59:38 galadriel e-smith-bg:  0 inode(s) failed to save (filesystem error)
Oct  5 10:59:38 galadriel e-smith-bg:  244 files(s) ignored (excluded by filters)
Oct  5 10:59:38 galadriel e-smith-bg:  0 files(s) recorded as deleted from reference backup
Oct  5 10:59:38 galadriel e-smith-bg:  --------------------------------------------
Oct  5 10:59:38 galadriel e-smith-bg:  Total number of file considered: 25972
Oct  5 10:59:38 galadriel e-smith-bg:  --------------------------------------------
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 05, 2006, 09:38:35 PM
beta 2 released:

Code: [Select]
# rpm -qp --changelog  smeserver-dar2-0.0.1-b2dmay.noarch.rpm

* Thu Oct 05 2006 Darrell May <dmay@myezserver.com>
- added db prop Verbose to control backup output detail
- [0.0.1-b2dmay]

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 06, 2006, 07:12:32 PM
Would appreciate receiving more test reports. Has anyone performed a full disaster recovery restore test?

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 06, 2006, 11:45:45 PM
beta 3 released

Code: [Select]
# rpm -qp --changelog smeserver-dar2-0.0.1-b3dmay.noarch.rpm
* Fri Oct 06 2006 Darrell May <dmay@myezserver.com>
- added dar2-dr-restore, a disaster recovery restore script.
- [0.0.1-b3dmay]

How to test a disaster recovery

Set up a test server. Add some users, ibays, files, emails. Install the following rpms:

dar-2.3.1-1.i386.rpm
perl-CGI-FormMagick-0.92-08.noarch.rpm
smeserver-dar2-0.0.1-b3dmay.noarch.rpm

Configure a dar job and perform a backup.

Blow your server away by performing a fresh reinstall reformating the drive. Perform a basic console config entering the exact same server parameters as used perviously. Install the following rpms:

dar-2.3.1-1.i386.rpm
perl-CGI-FormMagick-0.92-08.noarch.rpm
smeserver-dar2-0.0.1-b3dmay.noarch.rpm

Launch the disastery recovery restore script and answer all questions as prompted:

/etc/e-smith/events/actions/dar2-dr-restore

I have tested a usb restore and found it successfull. Please test and report your results.
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 07, 2006, 05:52:47 PM
beta 4 released:
Code: [Select]
[root@sme ~]# rpm -qp --changelog smeserver-dar2-0.0.1-b4dmay.noarch.rpm
* Sat Oct 07 2006 Darrell May <dmay@myezserver.com>
- bugfix:1964 crontab
- [0.0.1-b4dmay]

http://bugs.contribs.org/show_bug.cgi?id=1964

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: piran on October 09, 2006, 09:33:06 AM
Is the partial/differential/incremental functionality of DAR in operation yet?
Title: [ANNOUNCE] smeserver-dar2
Post by: wjhobbs on October 09, 2006, 06:46:10 PM
Hi Darrell,

Is there any difference on a 911 restore between running your script as noted above (/etc/e-smith/events/actions/dar2-dr-restore) and setting up an equivalent backup job using the panel and initiating a restore and subsequent reconfigure from there?

This is the process I followed and the restore has appeared to work successfully. I backed up my test server to a production machine ibay and performed the restore from the same location. Users, groups, ibay contents, mail all appeared to be there after the restore.

Also, could you consider adding a reminder in the panel that the standard list of items backed up for a Disaster Recovery job does not include other contribs/systems added after the SME Server install. I had fogotten that and one of my applications failed after the restore -- because the list did not include the directories where postgresql was installed. (My problem - not the fault of the backup system.)

Great contrib, Darrell.

John
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 09, 2006, 07:35:44 PM
Quote from: "piran"
Is the partial/differential/incremental functionality of DAR in operation yet?

No. The only value incremental backup provides is to reduce backup time. In practice incremental backups (in general not simply dar) are prone to failure when it comes time to restore. IMO incremental backups are not a reliable choice to make. Therefore I will not recommend, add and support this feature myself. However, an experienced admin can of course custom build their own incremental backup jobs should they wish to accept the incremental failure risk.

Currently, to meet the goal of reduced backup time dar2 permits multistreaming multiple backup jobs to different targets, on different days, as well as excluding/pruning backup selections. Overall an effective backup strategy begins with an effective data directory structure. Thoughtful management here, in combination with the dar2 features above, is hoped to meet most needs.

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 09, 2006, 10:25:53 PM
beta 5 released:
Code: [Select]
# rpm -qp --changelog smeserver-dar2-0.0.1-b5dmay.noarch.rpm
* Mon Oct 09 2006 Darrell May <dmay@myezserver.com>
- bugfix:1966 edited Exclude/Prune labels & switched display order
- added archive listing to dar2-backup output
- [0.0.1-b5dmay]

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 10, 2006, 12:12:39 AM
Quote from: "wjhobbs"
Hi Darrell,

Is there any difference on a 911 restore between running your script as noted above (/etc/e-smith/events/actions/dar2-dr-restore) and setting up an equivalent backup job using the panel and initiating a restore and subsequent reconfigure from there?

Their are a few key differences:

- you do not have to set up the job via the panel
- you get to see via the console exactly what is happening during the restore
- post-upgrade;reboot is automatic

Thanks for the report. Glad to hear the restore worked as expected.

[TIP] As for contribs. I recommend everyone store all contribs in use under /root/contribs. Whether a tarball, script or rpm. In this way the standard backup will grab them and restore them. After a disaster recovery restore (possibly a server upgrade) it is up to you to verify the contrib is suitable for the SME version installed and reinstall if desired. The best part is you at least know precisely what you had in the past by simply looking in /root/contribs.

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: piran on October 10, 2006, 12:44:21 AM
<No...>
Thank you for the clear response. Agree entirely. Particularly your
viewpoint on the use of incrementals. Caveat: Dantz's Retrospect -
a full backup with intelligent differentials which has proved itself
here over the years on the M$ boxes (their Linux port is too costly).

<...an effective backup strategy begins with an effective data directory structure.>
Agreed, I've had nearly a screenful of hierarchically tailored backups
jobs in each of  the contribs' various iterations. Mental gymnastics and
forward planning required to squeeze into available target resources.

<Thoughtful management...>
'Thought': I now need a LOT more network added storage, as had been
counting on differentials being stirred into the final mix. Will have to
manually segregate large tracts of non-changing stuff away from daily
changeables to make daily backup jobs use up less target resource. I
had orginally hoped that this thread would develop into or near what
Dantz Retrospect does so utterly brilliantly on my M$ boxes.

BTW your Backup2 contrib very recently pulled my site through the
SME6 to SME7 local hiatus impeccably and my expectation is that
your alliance with Jean's DAR will prove to be even better;~)
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 10, 2006, 03:57:14 AM
Quote from: "piran"
BTW your Backup2 contrib very recently pulled my site through the SME6 to SME7 local hiatus impeccably and my expectation is that ...

Thanks. The main reason I switched to dar was to get a completely GPL contrib to better facilitate inclusion into the core distro. Another reason I did not include incremental support is I doubt this is something the core team would ever want to support. Too much risk!

Since you have experience w. backup2 how about testing and reporting your dar2 results. The more feedback the better. The last few beta releases have all come from bug reports and feedback suggestions. Most appreciated  :wink:

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: piran on October 10, 2006, 11:37:22 PM
Quote
Another reason I did not include incremental support

Full backups with recent differentials work locally at my site.
If that development option arises then sign me up as a tester.

Quote
...how about testing and reporting your dar2 results.

OK. Now awaiting delivery of further storage capacity to cope with the
declared development roadmap (ie no differentials likely). Intend to
increase M$ workstation's resources with a 500GB disk share.

Quote
http://mirror.contribs.org/smeserver/contribs//dmay \ /smeserver/7.x/testing/smeserver-dar2/smeserver-usb-disk-howto.htm

To experiment with your new USB mount HOWTO have also ordered
a 500GB USB2/FW400 box (quicker than a gigabit network share?).

[postedit: to shorten the URL to avoid horizontal scrolling]
Title: [ANNOUNCE] smeserver-dar2
Post by: piran on October 10, 2006, 11:48:10 PM
Quote
The main reason I switched to dar was to get a completely GPL contrib to better facilitate inclusion into the core distro.

Does this mean my purchased license for WinRAR is now redundant?
Title: [ANNOUNCE] smeserver-dar2
Post by: piran on October 11, 2006, 12:02:09 AM
Does the adoption of DAR technology mean I can now 'safely' stack up
multiple back up jobs concurrently which will stress my intranet's (gigabit)
'bandwidth' and similarly stress the server's CPU utilisation/loading factor?
Previously your concern was with (samba?/nfs?/smb?/network?) time-outs.
Title: [ANNOUNCE] smeserver-dar2
Post by: Snoopyski on October 11, 2006, 03:20:44 AM
Hello Darrell,

First, THANKS for all of your works (contribs) that put SME on another stage !!!  :wink:

I just have a small question...

Why your contribs use now a .dar extension over a "international" (must extended in world) .RAR extension or other ?

It is possible to get the choice between .dar and .rar or other (.gz, .zip, etc...) ?

It's just a question... Is it's because .dar is more stable, compressive, faster, etc... ?

And do you know if a Windows software was available to extract a .dar file ?

Thanks for all answer...

Snoopyski
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 11, 2006, 03:26:01 AM
Quote from: "piran"
Does the adoption of DAR technology mean I can now 'safely' stack up multiple back up jobs concurrently.

This is not new. This was always a coded feature of backup2 and has no relationship to the engine underneath (ie rar/dar).
Quote from: "piran"
Previously your concern was with (samba?/nfs?/smb?/network?) time-outs.

Wrong contrib. That was in reference to JPL's rebuild of e-smith-backup. The only relationship my contrib has is it uses dar as well. Otherwise mine is simply an update of backup2. They are two completely different contribs with two completely separate Bug Tracker categories.

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: Snoopyski on October 11, 2006, 03:34:43 AM
OK Darell,

Thanks... And I really appreciate your work...

So if you need help for french translation.. let me know  :wink:

Snoopyski
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 11, 2006, 03:36:05 AM
Quote from: "Snoopyski"
Why your contribs use now a .dar extension over.....

You can find everything you want to know about dar at the authors site here:

http://dar.linux.free.fr

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 11, 2006, 03:39:50 AM
Quote from: "Snoopyski"
So if you need help for french translation, let me know  :wink:

You build it. I'll include it. Open invitation to all translators :D
Title: [ANNOUNCE] smeserver-dar2
Post by: piran on October 11, 2006, 05:12:42 PM
Old or no longer used jobs are seemingly being 'left' in /mnt/dar2/
when the original jobs are 'removed' from the server panel. On the
same tack what about their logs /var/dar2/mydomain/oldjobnames?
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 11, 2006, 06:33:40 PM
Quote from: "piran"
Old or no longer used jobs are seemingly being 'left' in /mnt/dar2/...

From the very first post:

Quote
All bug reports or new feature requests (NFR) should go directly to the contribs bug tracker:

http://bugs.contribs.org/enter_bug.cgi?product=SME%20Contribs
Component: smeserver-dar2
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 11, 2006, 06:34:42 PM
beta 6 released:

Code: [Select]
# rpm -qp --changelog smeserver-dar2-0.0.1-b6dmay.noarch.rpm
* Wed Oct 11 2006 Darrell May <dmay@myezserver.com>
- major rewrite of dar2-backup/restore templates
- minor updates to action scritps adding more echo statements
- [0.0.1-b6dmay]

/etc/e-smith/templates/etc/dar2/dar2-backup
/etc/e-smith/templates/etc/dar2/dar2-backup/00setup
/etc/e-smith/templates/etc/dar2/dar2-backup/10Backup
/etc/e-smith/templates/etc/dar2/dar2-backup/10Compression
/etc/e-smith/templates/etc/dar2/dar2-backup/10Default
/etc/e-smith/templates/etc/dar2/dar2-backup/10Exclude
/etc/e-smith/templates/etc/dar2/dar2-backup/10Prune
/etc/e-smith/templates/etc/dar2/dar2-backup/10Slice
/etc/e-smith/templates/etc/dar2/dar2-backup/10Verbose
/etc/e-smith/templates/etc/dar2/dar2-restore
/etc/e-smith/templates/etc/dar2/dar2-restore/00setup
/etc/e-smith/templates/etc/dar2/dar2-restore/10Default
/etc/e-smith/templates/etc/dar2/dar2-restore/10Restore
/etc/e-smith/templates/etc/dar2/dar2-restore/10RestoreTo

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 12, 2006, 03:52:03 PM
beta 7 released:

Code: [Select]
# rpm -qp --changelog smeserver-dar2-0.0.1-b7may.noarch.rpm
* Wed Oct 11 2006 Darrell May <dmay@myezserver.com>
- BT:1974 verbose prop now controls log file generation, default 'off'
- [0.0.1-b7dmay]

Darrell
Title: Beta 7
Post by: idyll on October 13, 2006, 03:00:50 AM
I feel some sense of redemption after seeing the latest change.

;-)

Thanks for the awesome contrib.

regards,

patrick
Title: [ANNOUNCE] smeserver-dar2
Post by: piran on October 13, 2006, 01:58:03 PM
Darrell, do you want my experiences with the new USB local box
here in this thread, the bugzilla or should I start another thread?
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 13, 2006, 04:41:18 PM
Quote from: "piran"
Darrell, do you want my experiences with the new USB local box
here in this thread, the bugzilla or should I start another thread?

Any 'tried this and it worked great' should go to this thread.

Any 'tried this and it didn't work' is a potential bug and therefore should go to the Bug Tracker as a new ticket entry under the smeserver-dar2 category.

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: piran on October 13, 2006, 05:31:06 PM
Got it;~)

I've never used a USB2 drive before now (only FireWire400 boxes).
So I followed your install USB box HOWTO at...
Code: [Select]
http://mirror.contribs.org/smeserver/contribs \ //dmay/smeserver/7.x/testing/smeserver-dar2/smeserver-usb-disk-howto.htm
...to install the new USB2 kit (SME7).
BTW your thread starter's listing for the above isn't active (ie no URL).
What a good clear instructive HOWTO, my thanks, you forgot
to say "breathe now" so I was a little cyanotic near the end.
I fell down the gotcha leaving the USB box mounted afterwards and so
couldn't start the subsequent backup run (as it was already mounted).

Q&A that you might consider adding to that HOWTO:
* How do you get the second, third etc drive added?
* Is there a helpful listing command to see the drive's parameters?
* How do ensure/confirm everything is running with USB2 (not USB1)?
* Is it OK to just rip the USB box off its power and data cords
ie in the case of user panic in the face of a fire/flood/disaster?

So, yes, the USB2 box does the job. My expectations were considerably
higher than what it (the USB2 box as a local drive for smeserver-dar2)
seems to have delivered. Perhaps 'things' need more configuring...
to put it simply: it's 'expensive' in use and it's not that quick either.
This comes into the category of tried this and it didn't work so will
now go away and prepare some bugzilla threads (URLs added later).

postedit
The tried this and it didn't work stuff is now in bugzilla #1978...
http://bugs.contribs.org/show_bug.cgi?id=1978
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 13, 2006, 09:42:48 PM
Quote from: "piran"
So, yes, the USB2 box does the job.

Then you should be reporting everything worked. Which it did.
Quote from: "piran"
My expectations were considerably higher...

This is a hardware issue that this software contrib has no influence on. USB2 data transfer speed is not fast. If you require faster transfer speed try a removable IDE or SCSI drive (or drive-array). Any mountable drive can be used with this contrib. It is not limited to USB disks only.

Search for forum posts outlining how to add an additional drive.

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: piran on October 13, 2006, 10:01:38 PM
Wasn't a 'should' I actually 'did' report that it did the job;~)

To confirm, what it did worked OK on the USB2 box.
I briefly tested some restored files and they were OK too.

The actual server's case ie internals are full up already (2TB+).

BTW I tried the FireWire interface option on the SME7, nothing got
recognised but I can't be certain that everything FW'y is set up.

The USB2 box is history, as I type it's now being formatted as NTFS.
Yet another FireWire box for the M$ workstation.

Thank you for helping me out on this USB2 test.
Title: [ANNOUNCE] smeserver-dar2
Post by: william_syd on October 14, 2006, 01:32:01 AM
Quote from: "piran"


BTW I tried the FireWire interface option on the SME7, nothing got
recognised but I can't be certain that everything FW'y is set up.



from Centos Mailing list..
Quote from: "http://lists.centos.org/pipermail/centos/2006-September/070331.html"
Firewire is not turned on in the standard RHEL kernel.  It is on in the
CentOSPlus kernel.
Title: [ANNOUNCE] smeserver-dar2
Post by: piran on October 14, 2006, 01:42:15 AM
I've started a new thread to avoid diluting this one.
http://forums.contribs.org/index.php?topic=34190.msg146787#msg146787
Title: [ANNOUNCE] smeserver-dar2
Post by: piran on October 14, 2006, 01:56:45 AM
The ex-USB2 box is now a FireWire NTFS box on a M$ workstation share.
Currently on course to complete the previous test in about 2hrs having
used negligable server resources (only 1 CPU for a start!) showing a load
factor of approx 0.5 though obviously this run is using a network share
and smbfs (as opposed to a local drive and ext3).
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 14, 2006, 02:38:40 AM
Quote from: "piran"
Currently on course to complete the previous test in about 2hrs having ...

Sounds great!

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: piran on October 14, 2006, 02:53:38 AM
Agreed;~)

That ex-USB2 drive (now FireWire400/NTFS) driven over the gigabit
intranet on a M$ workstation's drive share (smbfs) completed in
1hr 50mins at a data throughput rate of ~32GB/hr and really quite
minimal server resources (1 CPU and a load factor less than 0.5).

Tomorrow will use this as a base mean and stress the system with
concurrent jobs to identify where I can increase or maximise data
throughput (without excessive resource 'expense' of course).
Title: [ANNOUNCE] smeserver-dar2
Post by: Snoopyski on October 15, 2006, 03:33:40 PM
Hello Darell,

See wath I get in my log file... It is normal ?

Quote
Connecting /mnt/dar2/Backup to //maxserver/BackSME
params.c:Parameter() - Ignoring badly formed line in configuration file: ps2pdf13 $1 $OUTDIR/$2$DATE.temp
params.c:Parameter() - Ignoring badly formed line in configuration file: mv $OUTDIR/$2$DATE.temp $OUTDIR/$2_$DATE.pdf
params.c:Parameter() - Ignoring badly formed line in configuration file: echo "" > $T
params.c:Parameter() - Ignoring badly formed line in configuration file: echo "************************** PDF CREATED FOR YOU ****************************" >> $T
params.c:Parameter() - Ignoring badly formed line in configuration file: echo "Hello $2," >> $T
params.c:Parameter() - Ignoring badly formed line in configuration file: echo "Here's your requested PDF file." >> $T
params.c:Parameter() - Ignoring badly formed line in configuration file: echo "***************************************************************************" >> $T
params.c:Parameter() - Ignoring badly formed line in configuration file: echo "Job Name : $4" >> $T
params.c:Parameter() - Ignoring badly formed line in configuration file: echo "Submitted at : $DATE" >> $T
params.c:Parameter() - Ignoring badly formed line in configuration file: echo "Attached as : $2_$DATE.pdf." >> $T
params.c:Parameter() - Ignoring badly formed line in configuration file: echo "***************************************************************************" >> $T
params.c:Parameter() - Ignoring badly formed line in configuration file: mutt -a $OUTDIR/$2_$DATE.pdf -i $T -s "PDF:$DATE:$4" $TO
params.c:Parameter() - Ignoring badly formed line in configuration file: rm $1
params.c:Parameter() - Ignoring badly formed line in configuration file: rm $T
Expanding /etc/dar2/Backup template
Performing Backup backup


Thanks,

Snoopyski
Title: [ANNOUNCE] smeserver-dar2
Post by: piran on October 15, 2006, 03:38:08 PM
Snoopyski, please specify your PDF contrib that's running on SME7.
Title: [ANNOUNCE] smeserver-dar2
Post by: piran on October 15, 2006, 03:54:21 PM
Quote from: "piran"
... and stress the system with
concurrent jobs to identify where I can increase or maximise data
throughput ...

I stressed it a little and it broke;~/ (server not contrib)
http://bugs.contribs.org/show_bug.cgi?id=1980
Appears 'samba' has a vulnerability when it comes to multiple mounts.
Though I grant that my box does not (yet) have an associated patch kindly
derived by Greg and Charlie http://bugs.contribs.org/show_bug.cgi?id=1969 .
AFAIC, for the sake of resiliency and reliability, smbfs mounts' concurrency
is now to be routinely avoided here. The irony being my attempts to extend
the boundary in the site's safety (copious backups) crashed my server, so
no more deliberate mount concurrency;~)
Title: [ANNOUNCE] smeserver-dar2
Post by: remstrus on October 15, 2006, 05:11:10 PM
Hey Darell

Just got round to installing the contrib, the following were reported after the backup :

Quote
Creating /mnt/dar2/neobackup dir
Connecting /mnt/dar2/neobackup to //360server/serverbackup
Expanding /etc/dar2/neobackup template
Creating destination /myserver.co.uk/neobackup dir
Expiring old backups
Executing pre-backup event
Verbose logging is off
Performing neobackup backup
No terminal found for user interaction. All questions will be assumed a negative answer (less destructive choice), which most of the time will abort the program.


 --------------------------------------------
 14908 inode(s) saved
 with 0 hard link(s) recorded
 0 inode(s) changed at the moment of the backup
 0 inode(s) not saved (no file change)
 0 inode(s) failed to save (filesystem error)
 239 files(s) ignored (excluded by filters)
 0 files(s) recorded as deleted from reference backup
 --------------------------------------------
 Total number of file considered: 15147
 --------------------------------------------

Listing all neobackup archives on target
total 2203647
-rwxr-xr-x  1 root root 681574400 Oct 15 14:04 2006.10.15.1.dar
-rwxr-xr-x  1 root root 681574400 Oct 15 14:06 2006.10.15.2.dar
-rwxr-xr-x  1 root root 681574400 Oct 15 14:09 2006.10.15.3.dar
-rwxr-xr-x  1 root root 211810995 Oct 15 14:10 2006.10.15.4.dar

Executing post-backup event
Dismounting /mnt/dar2/neobackup

Sun Oct 15 14:00:01 BST 2006 - backup started
Sun Oct 15 14:10:26 BST 2006 - backup finished


The only thing that concearns me is the
Quote
No terminal found for user interaction. All questions will be assumed a negative answer (less destructive choice), which most of the time will abort the program.


It may be fine, I am new to the scene so can't really interpret the results!

Hope this helps.

Phil
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 15, 2006, 05:45:58 PM
Quote
No terminal found for user interaction. All questions will be assumed a negative answer (less destructive choice), which most of the time will abort the program.

Normal output. This is simply stating that the job is being run automatically by cron, not a user able to answer and respond to errors if encountered. If any errors are encountered the dar program displays the error and awaits user response. With no one to respond dar automatically assumes a negative answer and as stated will most likely abort. Then our job is to review the error encountered and correct it.

As an example, if you run a dar job from the command line, this message does not occur as you are there to answer any queries.

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: remstrus on October 15, 2006, 06:04:01 PM
Hey Darrell

Great stuff, so I can assume everything has gone ok?

I have been looking for a network share contrib like this for ages, many thanks for your efforts.

Am I correct in saying this contrib backs up Ibays, MySQL Databases and Email?

What parts of SME does the contrib not backup?

Many Thanks

Phil
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 15, 2006, 07:42:23 PM
Quote from: "remstrus"
Great stuff, so I can assume everything has gone ok?

Looks good to me.
Quote from: "remstrus"
I have been looking for a network share contrib like this for ages, many thanks for your efforts.

This has been available for over two years.  :wink: Started as backup2ws, then renamed backup2, now dar2.
Quote from: "remstrus"
Am I correct in saying this contrib backs up Ibays, MySQL Databases and Email?

Yes
Quote from: "remstrus"
What parts of SME does the contrib not backup?

Everything that _is_ backed up is visible in the View/Modify panel. The only exception is every backup runs the pre-backup event which adds the mysql dump automatically. Basically is capable of performing a default smeserver disaster recovery backup/restore. Note this does not include any contrib rpms which must be reloaded after restore.
Code: [Select]
[TIP] If you keep your contribs in /root/contribs this becomes easy to identify and restore all your contribs.
Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: GMa on October 16, 2006, 01:02:30 AM
Hi Darell,

Thanks for this great contrib, worked like a charm here,
6.5 Gb saved in 8 min

I have had some troubles at the beginning, for example I was first mounting my USB drive -> no error message but not working.
I found this in /var/log/messages
"according to mtab, /dev/sda1 is already mounted on /media/usbdisk"

One minor cosmetic thing, when the save button is used, the view is not refreshed in the Disk ARchive panel, ie the new backup job doesn't appear

Thanks again

GMa
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 16, 2006, 07:11:37 PM
Beta 8 released:
Code: [Select]
# rpm -qp --changelog smeserver-dar2-0.0.1-b8may.noarch.rpm
* Mon Oct 16 2006 Darrell May <dmay@myezserver.com>
- BT:1979 German language file added
- BT:1982 fix navigation-conf generated error
- [0.0.1-b8dmay]

Many thanks to Dietmar Berteld for providing the German language translation. If anyone else is interested in providing a translation please visit BT:1979 (http://bugs.contribs.org/show_bug.cgi?id=1979)

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: wjhobbs on October 17, 2006, 04:21:02 PM
Darrell,

Can backup2 and dar2 co-exist on the same server?

Thanks.

John
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 17, 2006, 08:45:58 PM
Quote from: "wjhobbs"
Can backup2 and dar2 co-exist on the same server?

There is nothing preventing the two co-existing. However you should switch to dar2 and remove backup2 as soon as convenient.

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: jameswilson on October 19, 2006, 11:21:45 AM
Just installed Dar 2 and have to say thankyou its superb, backed up my whole sme in about 6 minutes, very impressive.
Would it be possible though to state in the email what sbeen backed up without using verbose

ie 3700 files
mysql @ 25 Mb

Total backup size 1.55 Gb
Duration  0.3 Hours
at .4 Gb per hour

etc

But worked forst time for me using usb how to thanks

ps how do i know how much space is available on my backup drive? could that be added to the email too, as id like to backup everything and keep as many copies over time as possible
Title: [ANNOUNCE] smeserver-dar2
Post by: piran on October 19, 2006, 11:26:23 AM
Email sent after a scheduled run but not after a directly invoked run.
Look at /var/log/dar2/mydomain/mybackup
and /var/log/messages too.
Title: [ANNOUNCE] smeserver-dar2
Post by: jameswilson on October 19, 2006, 11:36:50 AM
Piran, thanks i do get the email and everything worked as described with no issues at all, just wanted to add a bit of feedback of things i (maybe no-one else lol) finds useful
Title: [ANNOUNCE] smeserver-dar2
Post by: piran on October 19, 2006, 11:46:42 AM
Noted, OTOH it could add stuff that might go wrong or get misreported.
This one gets the core back up and going. The rest is... well, different.
Darrell appears to be working on a further contrib that might suit:
http://forums.contribs.org/index.php?topic=34226.0
Title: [ANNOUNCE] smeserver-dar2
Post by: raem on October 19, 2006, 02:19:19 PM
dmay

> The only exception is every backup runs the pre-backup event which adds the mysql dump automatically

Good idea, I think a lot of people have been caught by mysql dumps not being included in the previous contribs' "non 911" backup jobs, me included !

Thanks Darrell for your good work & ongoing improvements to this contrib.
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 19, 2006, 04:32:06 PM
Quote from: "jameswilson"
Would it be possible though to state in the email ...

James. Some good ideas. However, please open a Bug Tracker ticket for all new feature requests. Prefix your summary title with 'NFR':

http://bugs.contribs.org/enter_bug.cgi?product=SME%20Contribs
smeserver-dar2

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 19, 2006, 06:40:07 PM
[ANNOUNCE] smeserver-dar2 released

Beta is completed. Thanks for all your feedback. I have just uploaded my official release. Smeserver-dar2 provides for server backup & restore from a network share (workstation/server) or an attached USB disk. This contrib is an extensive rewrite/updating of smeserver-backup2 and uses Disk ARchive (http://dar.linux.free.fr) as the backup engine. This contrib is meant to supercede backup2 however I do not force this. Switch at your convenience.

As soon as mirrors sync you will find the following in my contrib dir:

http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/

Contrib rpm and required rpms:

smeserver-dar2-0.0.1-0dmay.noarch.rpm
dar-2.3.1-1.i386.rpm
perl-CGI-FormMagick-0.92-08.noarch.rpm

After install see the server-manager panel:

Backup
- Disk ARchive

General discussion is welcomed on this forum. All bug reports or new feature requests (NFR) should go directly to the contribs bug tracker:

http://bugs.contribs.org/enter_bug.cgi?product=SME%20Contribs
Component: smeserver-dar2

Additional resources found in my contrib dir include:

Windows binary for using dar via command-line on Windows XP:

dar64-2.3.1-i386-windows.zip

Documentation is available here:

http://dar.linux.free.fr/doc/index.html

How To for configuring an external USB:

smeserver-usb-disk-howto.htm

Regards,

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: dany_it on October 20, 2006, 06:55:10 PM
Hallo!
I've tried this contribs and it seem very interesting!!

I have tried a full backup, as default, but I have a problem when I extrac with dar -x option the files in a windows system:

the files are extracted ok, but the *.exe seem to be impossible to open with an error that say that I haven't the correct permissions... All others files work good and I can open, but the *.exe I can't.

Any help?

Thank you very much!

Bye,
Daniele.
Title: [ANNOUNCE] smeserver-dar2
Post by: jameswilson on October 21, 2006, 03:54:55 PM
also just thought can you throttle the cpu use when its backing up, i have a website on my server that runs so slowly when backing up

normally a page is generated in 0.122 seconds during backup its 4 or 5 seconds
Title: [ANNOUNCE] smeserver-dar2
Post by: cactus on October 21, 2006, 08:34:37 PM
Quote from: "jameswilson"
also just thought can you throttle the cpu use when its backing up, i have a website on my server that runs so slowly when backing up

normally a page is generated in 0.122 seconds during backup its 4 or 5 seconds
Isn;t there some way to lower the priority of the backup process in favour of the webserver?
Title: [ANNOUNCE] smeserver-dar2
Post by: egerards on October 21, 2006, 10:04:44 PM
I just installed this contrib. Looks very promising!

I want to run a full backup of my system to a usb attached hard drive. /home/e-smith/files/ can be excluded, because I already have regular snapshots scheduled with rsnapshot (http://www.rsnapshot.org) (cool tool!!).

The default backup selection is:
etc/e-smith/templates-custom
etc/e-smith/templates-user-custom
etc/group
etc/gshadow
etc/passwd
etc/samba/secrets.tdb
etc/samba/smbpasswd
etc/shadow
etc/smbpasswd
etc/ssh
etc/sudoers
home/e-smith
root

If you want to perform a full backup, it seems to me that this list is not covering the full system. Am I correct that if you want to make a full backup, you simply add every directory found in '/' to the backup selection (/proc and /tmp excluded of course)? (And in my case I can exclude /home/e-smith/files .)

Anyone experience with a full backup?
Title: [ANNOUNCE] smeserver-dar2
Post by: egerards on October 21, 2006, 10:10:30 PM
Quote from: "cactus"
Quote from: "jameswilson"
also just thought can you throttle the cpu use when its backing up, i have a website on my server that runs so slowly when backing up

normally a page is generated in 0.122 seconds during backup its 4 or 5 seconds
Isn;t there some way to lower the priority of the backup process in favour of the webserver?


Haven't tried it yet, but you might consider a 'renice 15 <PID>' ?
Title: [ANNOUNCE] smeserver-dar2
Post by: piran on October 22, 2006, 10:50:49 AM
Code: [Select]
renice 15 <PID>
What is that all about please? Looks interesting to say the least;~)
When I use DAR2 over the intranet the target drive's capabilities keep
the backup run in check, when I do the same with a drive local to the
server (USB or eSATA) all hell breaks loose;~/ Both processors go
straight into redline utilisations, everything else 'backs up' ie slows
down while the system attempts to write the backup locally.
Title: [ANNOUNCE] smeserver-dar2
Post by: EdelingF on October 22, 2006, 12:32:36 PM
Darrell,

I've installed your contrib and I see the server-manager panel.
I created a backup job (//MyPC/SME_backup/Ibay/) and when I perform a backup in a few seconds I get the message "Operation status report SUCCESS"
However, nothing is backupped or maybe backupped but not transfered to my WinXP PC.
Dit I do something wrong?

Freek
Title: [ANNOUNCE] smeserver-dar2
Post by: egerards on October 22, 2006, 01:45:51 PM
Quote from: "piran"
Code: [Select]
renice 15 <PID>
What is that all about please? Looks interesting to say the least;~)
When I use DAR2 over the intranet the target drive's capabilities keep
the backup run in check, when I do the same with a drive local to the
server (USB or eSATA) all hell breaks loose;~/ Both processors go
straight into redline utilisations, everything else 'backs up' ie slows
down while the system attempts to write the backup locally.


If you 'renice' a process to a value above 0 (the 'nice value' can be between -20 and 20), the process gets less attention of the process scheduler which is part of the Linux kernel. This way processes with the default priority (0) won't be slowed down too much.
The rsnapshot job on my system that runs at least 6 times a day is also rather resource demanding. By giving it a nice value of 15, my system stays more responsive. I start the job by 'nice -n 15 <COMMAND>'.
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 22, 2006, 05:48:46 PM
Quote from: "egerards"
...By giving it a nice value of 15, my system stays more responsive. I start the job by 'nice -n 15 <COMMAND>'.

If you feel this is a valuable addition please open a NFR bug ticket. Perform some tests using various adjustment levels and add your test results to the ticket. Test both network share and local disk backups. As a minimum report base overall completion times and cpu utilization curves during defined jobs, then add various adjustment levels and report changes.

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 22, 2006, 06:00:31 PM
Quote from: "dany_it"
I have a problem when I extrac with dar -x option the files in a windows system


http://dar.linux.free.fr/doc/index.html#Reporting_a_Bug

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 22, 2006, 07:15:39 PM
Quote from: "egerards"
.. it seems to me that this list is not covering the full system.

The list is generated from the core e-smith-backup program and includes everything needed to recover a default sme server build to full operation.

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: dtech on October 23, 2006, 03:35:07 PM
Hi dmay;

I'm a little confused about the whole incremental backup functionality, or lack thereof, of this contrib (thanks for your effort, by the way); this thread seems to suggest that your contrib does NOT have incremental backup functionality, and this one http://forums.contribs.org/index.php?topic=34187.0 (not started by you) seems to suggest that it does. I've installed the contrib and I can't seem to find anything that suggests incremental. What's the official word?

Secondly, and a little off topic, is that in my opinion incremental backup on smaller networks is valuable. Resource limitations are a big motivator. The system I use now, some cron/tar scripts, gives me a full system backup every Sunday with incremental backups during the week. It is a nice balance between resource consumption (disk space) and backup completeness. I guess a combination of your contrib and my scripts is the way for me to go. But I notice you're now working on an rsync type of contrib; I wonder if a combination of dar/rsync contribs is a good middle ground?

-P
Title: [ANNOUNCE] smeserver-dar2
Post by: egerards on October 23, 2006, 04:37:48 PM
Quote from: "dmay"
Quote from: "egerards"
.. it seems to me that this list is not covering the full system.

The list is generated from the core e-smith-backup program and includes everything needed to recover a default sme server build to full operation.

Darrell


Ok, that's clear. 'Unfortunatelly' my SME installation has got quite a number of additional rpm's installed. For a full backup I would at least need to backup /usr and /var as well (or certain parts of them).
So I am still wondering which selection list I should use for a non default SME installation.

Does anybody have experience with full backups of a customised SME installation?
Title: [ANNOUNCE] smeserver-dar2
Post by: raem on October 23, 2006, 06:35:23 PM
egerards

The concept of a full system backup (& restore) requires careful consideration.
See
http://forums.contribs.org/index.php?topic=27097.msg111256#msg111256

The way I do it is to swap one RAID drive out every so often, and do daily backups.
In the event of a major failure I can install the removed RAID drive, rebuild the array and then sync the data to the last good backup.

It's a trade off of fiddly selective restoring, versus a clean install, restore & reinstall of contribs etc.
Title: [ANNOUNCE] smeserver-dar2
Post by: raem on October 23, 2006, 07:03:30 PM
dtech

> I've installed the contrib and I can't seem to find anything that suggests incremental.

Darrell's contrib smeserver-dar2 and the other you mentioned e-smith-backup with dar are completely different contribs, and they do different things, Darrell mentioned this earlier in this thread (back a page or two).
Title: [ANNOUNCE] smeserver-dar2
Post by: dtech on October 23, 2006, 08:01:39 PM
So he did, RayMitchell, thanks for pointing that out. All of a sudden we have backup choices... ;-)

-P
Title: [ANNOUNCE] smeserver-dar2
Post by: jpl on October 23, 2006, 10:38:49 PM
For people who needs dar backup with incremental backup and selective restore I point that e-smith-backup with dar  has a new bugfix release : http://bugs.contribs.org/attachment.cgi?id=591
Title: [ANNOUNCE] smeserver-dar2
Post by: wjhobbs on October 31, 2006, 03:04:45 AM
I did a little testing over the past few months on backup2 and then dar2. Thought some of you might be interested in the results.

The machine had a 2.0GHz processor with 2GB SDRAM and a pair of 160GB IDE hard drives running under SME7. Quite a lot of the data (80-90%+) to be backed up contained images that already had some level of compression applied. So no conclusions should be drawn about the effectiveness of the compression routines.

In August 2006 we ran some backup tests using backup2 to try to get a sense of what worked best. Here are the results for backup of a server with 65.7GB data.

Tool--------Compression_Level--Transfer_Technology--Result_Size----Time----Compress _Size---Data_Rate
backup2-----------0-----------------10/100_ethernet-------65.7GB--------9_hrs-----------100%---------7.3GB/hr
backup2-----------3-----------------10/100_ethernet-------36.7GB--------19_hrs-----------56%---------3.5GB/hr
backup2-----------3--------------------USB_2------------------36.7GB-------21.5_hrs---------56%---------3.1GB/hr

The last two columns provide the most significant information.

Clearly, the compression is a bigger factor than data transfer speeds on overall backup time. This means that USB is only slightly slower than 10/100 Ethernet as a storage option for this situation.

We then tried the backup in October using dar2 on the same server with slightly less source data. Here are the results for backup of a server with 64.3GB data.

Tool--------Compression_Level--Transfer_Technology--Result_Size----Time----Compress_Size---Data_Rate
dar2---------------3--------------------USB_2------------------36.9GB-------11_hrs-----------59%-----------5.8GB/hr
dar2---------------3------------------SATA-150----------------36.9GB-------8.5_hrs-----------59%-----------7.6GB/hr
dar2---------------0------------------SATA-150----------------64.3GB-------45_min----------100%----------85.7GB/hr

The USB option for the two backup mechanisms shows 'dar' being much more efficient than 'rar' in terms of time (5.8GB/hr vs. 3.1GB/hr) for a similar compression effect (difference of 3% in compressed file size).

As one might expect, a backup to a locally attached SATA drive with no compression is by far the fastest approach. However, the data rate (85.7GB/hr in this environment) blew me away!
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on October 31, 2006, 04:27:37 PM
Great report!

Quote from: "wjhobbs"
As one might expect, a backup to a locally attached SATA drive with no compression is by far the fastest approach. However, the data rate (85.7GB/hr in this environment) blew me away!

What exact SATA hardware was used and how was the SATA drive connected? Internal, external, removable chassis, SATA controller?

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: wjhobbs on October 31, 2006, 04:31:19 PM
Darrell,

This describes the environment http://forums.contribs.org/index.php?topic=34197.msg148082#msg148082

John
Title: [ANNOUNCE] smeserver-dar2
Post by: dvdsmith on November 02, 2006, 06:02:08 PM
Darrell,

Just loaded DAR2 the other day, thanks for the great work! :D  I really appreciate the choice of cifs or smbfs.

Currently I'm still using backup2 because I find the RAR files more convenient to open, but as I'm able I'll transition over to the new contrib.

Slightly off topic, but does anyone know of a Windows GUI app that supports DAR format?  I've done extensive searching and come up with squat.  My reason for this is because the most common occurence for me with my backup is to recover a single file or folder a user deleted a day or days ago.  A GUI app is more convenient and efficent in this situation.  Its also easier to teach someone else how to use it.  I know there is Kdar for the KDE desktop, but my primary work platform is a Windows PC.

Thanks, David
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on November 02, 2006, 11:46:36 PM
Quote from: "dvdsmith"
.. does anyone know of a Windows GUI app that supports DAR format?

Not that I've found. However there is a Windows command prompt version of dar in my contrib area. Follows the same syntax as the Linux version so see 'man dar' for details.

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: Matt on November 03, 2006, 03:45:15 PM
I have installed backupusb on to my sme 7 box and when I get the following message in the log, can anyone help me sort this out so I can get backup working. Thanks

Quote

Nov 1 23:16:53 cranbrook esmith::event[13503]: Processing event: pre-backup2usb-custom 297802
Nov 1 23:16:53 cranbrook kernel: kjournald starting. Commit interval 5 seconds
Nov 1 23:16:53 cranbrook kernel: EXT3 FS on sda1, internal journal
Nov 1 23:16:53 cranbrook kernel: EXT3-fs: mounted filesystem with ordered data mode.
Nov 1 23:17:17 cranbrook e-smith-bg: cannot handle file 'libc.so.6' with TLS data
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on November 03, 2006, 04:11:37 PM
Quote from: "Matt"
I have installed backupusb

Matt,

This thread is about smeserver-dar2. All backup2 contribs are deprecated and should be removed. Try smeserver-dar2. Read this thread for details.

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: wjhobbs on November 03, 2006, 06:00:38 PM
Darrell,

I have specified "Expiry 2" in the server manager and have the backup running daily.

After today's run, should I expect to see 3 backup sets (today plus yesterday plus the day before yesterday) or should I expect to see just 2 (today and yesterday)?

John
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on November 03, 2006, 09:08:29 PM
Quote from: "wjhobbs"
Darrell,

I have specified "Expiry 2" in the server manager and have the backup running daily.

After today's run, should I expect to see 3 backup sets (today plus yesterday plus the day before yesterday) or should I expect to see just 2 (today and yesterday)?

John

It is based on your archive files last modified time. Here is the code in question:
Code: [Select]
/usr/bin/find $MOUNT/$ID/$DCF/*.dar -type f -mtime +$EXPIRY -exec /bin/rm -f {} \; > /dev/null 2>&1
'man mount' tells us:
Code: [Select]
     -mtime n
              File's data was last modified n*24 hours ago.

In most cases this will result in 'n' + 1 being left.

Darrell
Title: Set up dar2 and it worked fine but.....
Post by: Carbon on November 07, 2006, 02:31:19 AM
Set up dar2 and it worked fine but when I log onto the network later and do this......

[root@server ~]# /etc/e-smith/events/actions/dar2-backup backupdata

I get this......

Connecting /mnt/dar2/backupdata to //pentagon/dar
Error connecting to 192.168.0.145 (No route to host)
3897: Connection to pentagon failed
SMB connection failed
[root@server ~]#

and as you can see it because of this......

kmccain@pentagon:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:10:5C:DB:91:13
          inet addr:192.168.0.143  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::210:5cff:fedb:9113/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:19564 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8937 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9215501 (8.7 MiB)  TX bytes:1004758 (981.2 KiB)
          Interrupt:201 Base address:0xe800

.... as the dhcp has given pentagon a new IP

so I tried restarting the client.... restating the dhcpd on the server.... but it appears that once the dar has backuped to an IP it sticks with it... But I feel sure that's not right.

Should I fix the IP of the client (pentagon), it's a laptop so I'd rather not. Or is there a config for dar that I've missed. I would have thought //pentagon/dar, which is constant would be OK.

Any help would be appreciated, thanks...
Title: Re: Set up dar2 and it worked fine but.....
Post by: dmay on November 07, 2006, 04:24:27 PM
Quote from: "Carbon"
Connecting /mnt/dar2/backupdata to //pentagon/dar
Error connecting to 192.168.0.145 (No route to host)

Error reports should always go to the Bug Tracker. However, this is more likely a network WINS/DHCP config error. Make a bug report and we'll track it done in the Bug Tracker.

Darrell
Title: Backup expiry
Post by: erykwol on November 23, 2006, 12:48:11 PM
Darrell,

Is it possible to adjust the "Expiry logic" so, that the program "counts" backup sets instead of backup dates?.
I have a problem with more then 1 usbdisks, which I swap every day.
When I have 3 disks and I want to have 2 sets of backup on each, how can I setup that?

Any help would be appreciated, thanks...

Eryk
Title: Re: Backup expiry
Post by: dmay on November 24, 2006, 03:18:27 AM
Quote from: "erykwol"
Darrell,

Is it possible to adjust the "Expiry logic" so, that the program "counts" backup sets instead of backup dates?.
I have a problem with more then 1 usbdisks, which I swap every day.
When I have 3 disks and I want to have 2 sets of backup on each, how can I setup that?

Any help would be appreciated, thanks...

Eryk

Sounds like a math puzzler :wink:

If you use a drive once every 'n' days and want to store 2 backups an expiry of ((n*2)-1) should work.

Darrell
Title: re dar2 backup to nfs server
Post by: stiperstones on December 04, 2006, 11:07:42 PM
Can this contrib be used to backup to a nfs server before i test it.
Title: [ANNOUNCE] smeserver-dar2
Post by: Terry on December 15, 2006, 03:18:36 PM
Just switched from Backup2 to Dar, thanks Darrell.

One quick Q, using the default backup routine, does that capture the mysql databases.  For me to recover from a server failure all I really need is the ibays/mail dirs (already captured in the current backup set up) but I am curious if the mysql databases are included too?
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on December 16, 2006, 06:33:54 AM
Quote from: "Terry"
using the default backup routine, does that capture the mysql databases.

Yes :)

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: pippin on December 16, 2006, 04:02:16 PM
how do you uninstall previous versions because i have a conflict with the old one.and i dont know which version that is
Title: [ANNOUNCE] smeserver-dar2
Post by: psoren on December 16, 2006, 05:16:19 PM
Quote from: "pippin"
how do you uninstall previous versions because i have a conflict with the old one.and i dont know which version that is


To see what you have:

[root@perserver ~]# rpm -qa | grep dar
dar-2.3.1-1
smeserver-dar2-0.0.1-0dmay

But you don't use version number to uninstall, just do:

rpm -e smeserver-dar2

Per
Title: [ANNOUNCE] smeserver-dar2
Post by: pippin on December 16, 2006, 05:34:44 PM
thanks
Title: [ANNOUNCE] smeserver-dar2
Post by: pippin on December 19, 2006, 02:33:51 PM
I have done my first backup with this over smb and it works like a charm,i havent tried to recover,but i guess it work fine.Thanks for this contribs and save me for buying a tapebackup
Title: [ANNOUNCE] smeserver-dar2
Post by: raem on December 19, 2006, 02:46:31 PM
pippin

>...i havent tried to recover, but i guess it work fine.

You should really prove that your restore procedure work correctly.

If something is wrong with either your backup files or your procedures (backup or restore), then you may not be able to restore your data.

You will be relying upon a successfull restore then, and it will be too late to resolve any problems without posible loss of data.

Test your backup and restore procedures fully to prove a full restore is possible with the methods you use, don't just "guess" it will work fine.
Title: [ANNOUNCE] smeserver-dar2
Post by: pippin on December 20, 2006, 09:37:08 AM
Well the databases went nuts and gave me a fatal error,but luckily i had a script that backup all the databases on daily/weekly and monthly bases.

So where can i exlude backup of databases?
Title: [ANNOUNCE] smeserver-dar2
Post by: pippin on December 20, 2006, 10:01:44 AM
I was to quick to reply so it went well sorry about that :D
Title: desaster recovery
Post by: coolme on December 20, 2006, 03:20:47 PM
has anyone ever succesfully tried the desaster recovery option?? I've tried as per instruction but nothing restored? Maybe I miss something, please help. tnx
Title: Re: desaster recovery
Post by: psoren on December 20, 2006, 03:31:05 PM
Quote from: "coolme"
has anyone ever succesfully tried the desaster recovery option?? I've tried as per instruction but nothing restored? Maybe I miss something, please help. tnx


I have successfully restored 2 different servers, i used the command line though.

Per
Title: [ANNOUNCE] smeserver-dar2
Post by: pippin on December 20, 2006, 08:04:40 PM
I have now a well function backupsulution backing up to a samba file server,but i have a another samba server and a 2003 Server also in that subnet that i want to mount so if any of those get shut down a backup will be made to the otherrs,but here is the question how do you do it? I cant remember how i did it in the first place :D

the samba server use my front name and 2003 server use backup as shared resources

I have also bought a external drive for this too using rsync and maybe a internal tapedrive too will be bought
Title: Re: desaster recovery
Post by: pippin on December 20, 2006, 08:20:11 PM
Quote from: "coolme"
has anyone ever succesfully tried the desaster recovery option?? I've tried as per instruction but nothing restored? Maybe I miss something, please help. tnx
I did it and it worked for me maybe to hasty att first but let the job be done and reconfigure and it will work for you too
Title: Re: desaster recovery
Post by: coolme on December 21, 2006, 08:52:25 AM
Quote from: "psoren"
Quote from: "coolme"
has anyone ever succesfully tried the desaster recovery option?? I've tried as per instruction but nothing restored? Maybe I miss something, please help. tnx


I have successfully restored 2 different servers, i used the command line though.

Per


tnx man! It work now.. I used command line.
Title: [ANNOUNCE] smeserver-dar2
Post by: pippin on December 21, 2006, 10:36:14 PM
How do you do it if you want it to backup to a usbdisk?
I have mounted the usbdisk as /media/usbdisk for my rsync backup,but i will also make dar2 use this option.

What will be the target for the job?
Title: [ANNOUNCE] smeserver-dar2
Post by: coolme on December 22, 2006, 01:23:56 AM
Quote from: "pippin"
How do you do it if you want it to backup to a usbdisk?
I have mounted the usbdisk as /media/usbdisk for my rsync backup,but i will also make dar2 use this option.

What will be the target for the job?

 
"If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]. Leave the username and password fields blank." I read it from the panel, not tried it yet though.
Title: [ANNOUNCE] smeserver-dar2
Post by: pippin on December 22, 2006, 09:15:48 AM
it didn`t work with the target /media/usbdisk wich is my mounted USB disk wit filesystem ext3
Title: [ANNOUNCE] smeserver-dar2
Post by: pippin on December 22, 2006, 04:01:01 PM
I cant get this to work on a USB disk what is wrong when i can make this backup with the rsync contrib.Also a another rsync jobb creating daily,weekly an monthly backup to that disk
Title: [ANNOUNCE] smeserver-dar2
Post by: Gaston94 on December 25, 2006, 01:22:11 PM
I would suggest you to try running your job from the console
Code: [Select]
/etc/e-smith/events/actions/dar2-backup job_name
job_name is the one you defined through the web interface.
That way, for the time being, you'll get some more helpfull messages.

G.
Title: [ANNOUNCE] smeserver-dar2
Post by: pippin on December 25, 2006, 02:18:58 PM
Another problem after reinnstall of my samba server
I get acesss denide of creating the backup folder on the samba server


/bin/mkdir: cannot create directory `/mnt/dar2/Backup/smeserver.xxxx-xxxx.dy                                             ndns.org/Backup': Permission denied


Here are the config file and i cant understand whats wrong

[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
   workgroup = WORKGROUP

# server string is the equivalent of the NT Description field
   server string = %h server (Samba, Ubuntu)

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
;   wins support = no

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
;   wins server = w.x.y.z

# This will prevent nmbd to search for NetBIOS names through DNS.
   dns proxy = no

# What naming service and in what order should we use to resolve host names
# to IP addresses
;   name resolve order = lmhosts host wins bcast

#### Networking ####

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
;   interfaces = 127.0.0.0/8 eth0

# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself.  However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
;   bind interfaces only = true



#### Debugging/Accounting ####

# This tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/log.%m

# Put a capping on the size of the log files (in Kb).
   max log size = 1000

# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
;   syslog only = no

# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
   syslog = 0

# Do something sensible when Samba crashes: mail the admin a backtrace
   panic action = /usr/share/samba/panic-action %d


####### Authentication #######

# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba-HOWTO-Collection/ServerType.html
# in the samba-doc package for details.
;   security = user

# You may wish to use password encryption.  See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
   encrypt passwords = true

# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.  
   passdb backend = tdbsam

   obey pam restrictions = yes

;   guest account = nobody
   invalid users = root

# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
;   unix password sync = no

# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for
# sending the correct chat script for the passwd program in Debian Sarge).
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .

# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
;   pam password change = no

########## Domains ###########

# Is this machine able to authenticate users. Both PDC and BDC
# must have this setting enabled. If you are the BDC you must
# change the 'domain master' setting to no
#
;   domain logons = yes
#
# The following setting only takes effect if 'domain logons' is set
# It specifies the location of the user's profile directory
# from the client point of view)
# The following required a [profiles] share to be setup on the
# samba server (see below)
;   logon path = \\%N\profiles\%U
# Another common choice is storing the profile in the user's home directory
;   logon path = \\%N\%U\profile

# The following setting only takes effect if 'domain logons' is set
# It specifies the location of a user's home directory (from the client
# point of view)
;   logon drive = H:
;   logon home = \\%N\%U

# The following setting only takes effect if 'domain logons' is set
# It specifies the script to run during logon. The script must be stored
# in the [netlogon] share
# NOTE: Must be store in 'DOS' file format convention
;   logon script = logon.cmd

# This allows Unix users to be created on the domain controller via the SAMR
# RPC pipe.  The example command creates a user account with a disabled Unix
# password; please adapt to your needs
; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u

########## Printing ##########

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
;   load printers = yes

# lpr(ng) printing. You may wish to override the location of the
# printcap file
;   printing = bsd
;   printcap name = /etc/printcap

# CUPS printing.  See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
;   printing = cups
;   printcap name = cups

# When using [print$], root is implicitly a 'printer admin', but you can
# also give this right to other users to add drivers and set printer
# properties
;   printer admin = @lpadmin


############ Misc ############

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
;   include = /home/samba/etc/smb.conf.%m

# Most people will find that this option gives better performance.
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/speed.html
# for details
# You may want to add the following on a Linux system:
#         SO_RCVBUF=8192 SO_SNDBUF=8192
   socket options = TCP_NODELAY

# The following parameter is useful only if you have the linpopup package
# installed. The samba maintainer and the linpopup maintainer are
# working to ease installation and configuration of linpopup and samba.
;   message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &

# Domain Master specifies Samba to be the Domain Master Browser. If this
# machine will be configured as a BDC (a secondary logon server), you
# must set this to 'no'; otherwise, the default behavior is recommended.
;   domain master = auto

# Some defaults for winbind (make sure you're not using the ranges
# for something else.)
;   idmap uid = 10000-20000
;   idmap gid = 10000-20000
;   template shell = /bin/bash

#======================= Share Definitions =======================

# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares.  This will share each
# user's home directory as \\server\username
;[homes]
   comment = Home Directories
   browseable = yes

# By default, \\server\username shares can be connected to by anyone
# with access to the samba server.  Un-comment the following parameter
# to make sure that only "username" can connect to \\server\username
;   valid users = %S

# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
   writable = yes

# File creation mask is set to 0600 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0664.
   create mask = 0777

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
   directory mask = 0775

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
;   comment = Network Logon Service
;   path = /home/samba/netlogon
;   guest ok = yes
;   writable = no
;   share modes = no

# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
;   comment = Users profiles
;   path = /home/samba/profiles
;   guest ok = no
;   browseable = no
;   create mask = 0600
;   directory mask = 0700

[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no
   create mode = 0700
[homes]
   comment = homes
   browseable = yes
   path = /home/roger
   public = yes
   writable = yes
   create mode = 0777
Title: [ANNOUNCE] smeserver-dar2
Post by: pippin on December 25, 2006, 02:27:28 PM
ive also get this when trying to backup to USB disk

cannot create directory `/media/usbdisk/smeserver.xxxx-xxxx.dyndns.org/Backup2USB': Read-only file system
Title: [ANNOUNCE] smeserver-dar2
Post by: pippin on December 25, 2006, 03:40:18 PM
I have get it with samba the only thing now is readonly on the USB disk

Edit never mind it was the disk mounted as readonly :D
As you can see my linux skills are very limited :wink:
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on December 25, 2006, 05:11:08 PM
Quote from: "pippin"
I have get it with samba the only thing now is readonly on the USB disk

It sounds like you may have customized your system to incorrectly mount /media/usbdisk in readonly mode. Check /etc/fstab. The drive should not be mounted prior to running a backup.

Darrell
Title: successful full 911 restore after major crash
Post by: idyll on January 03, 2007, 03:11:09 PM
I want to thank Darrell for the DAR contrib after I used it to restore 80GB of data to a recently upgraded 7.1 system.

In summary, my 7.1 system lost its drive and went down hard. I was only using a single disk, now it uses the RAID option (!).

Fortunately, I had been using the DAR contrib for a full 911 nightly, using a Maxtor 250GB via USB. I retain 3 days worth of backups using the GUI associated with the program.

I downloaded the new 7.1 ISO, built the new server, installed the three rpms associated with Darrell's DAR program and rebooted. I then used the command line to do a full restore from the USB drive after verifying it mounted automatically, etc.

It worked LIKE A CHARM. Nothing like the feeling of being able to pull this sort of thing off.

THANK YOU for taking the time to create this most powerful and effective backup mechanism, and for documenting it for people like myself.

regards,

patrick
Title: Re: successful full 911 restore after major crash
Post by: pippin on January 03, 2007, 04:21:39 PM
Quote from: "idyll"
I want to thank Darrell for the DAR contrib after I used it to restore 80GB of data to a recently upgraded 7.1 system.

In summary, my 7.1 system lost its drive and went down hard. I was only using a single disk, now it uses the RAID option (!).

Fortunately, I had been using the DAR contrib for a full 911 nightly, using a Maxtor 250GB via USB. I retain 3 days worth of backups using the GUI associated with the program.

I downloaded the new 7.1 ISO, built the new server, installed the three rpms associated with Darrell's DAR program and rebooted. I then used the command line to do a full restore from the USB drive after verifying it mounted automatically, etc.

It worked LIKE A CHARM. Nothing like the feeling of being able to pull this sort of thing off.

THANK YOU for taking the time to create this most powerful and effective backup mechanism, and for documenting it for people like myself.

regards,

patrick


How do you automount the USB disc?
Title: DAR restore
Post by: idyll on January 03, 2007, 04:24:52 PM
using Darrell's command....

/etc/e-smith/events/actions/dar2-dr-restore

the USB disk is mounted after a few questions are answered.

Am I misunderstanding what you ask?

regards,
patrick
Title: Re: DAR restore
Post by: pippin on January 03, 2007, 04:45:22 PM
Quote from: "idyll"
using Darrell's command....

/etc/e-smith/events/actions/dar2-dr-restore

the USB disk is mounted after a few questions are answered.

Am I misunderstanding what you ask?

regards,
patrick


I was only wondering how you got the USB disk to automount
Title: [ANNOUNCE] smeserver-dar2
Post by: exocet on January 08, 2007, 05:54:42 PM
I need to backup to a NT-server; I use an ibay for the target.
Get following email

Quote
Connecting to /home/e-smith/files/ibays/backup/files
mount: can't find /home/e-smith/files/ibays/backup/files in /etc/fstab or /etc/mtab


Do I have to mount the ibay like an attached drive?

thanks
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on January 08, 2007, 06:29:02 PM
Quote from: "exocet"
I need to backup to a NT-server;

Your still running NT. Why?

 
Quote from: "exocet"
I use an ibay for the target.

No. You back up SME to your NT Server, therefore the destination target where you will store your backup becomes:

//ntserver/share

You need to define a network share and local account on the NT Server. You assign this account full access write to //ntserver/share. Then enter the target destination, account name and password in your dar2 job panel.

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on January 08, 2007, 06:32:54 PM
Latest release:

smeserver-dar2-0.0.1-1dmay.noarch.rpm
* Sun Jan 07 2007 Darrell May <dmay@myezserver.com>
- added dar2-mc action
- added dar support files for Midnight Commander
- [0.0.1-1dmay]

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: mercyh on January 08, 2007, 06:51:36 PM
I would like to back up to an Ibay and then use my normal tape backup software to pull the backup file. This allows me to store the backup file in my normal schedules with my other backups. I had been backing up directly to tape but found on restore that my backup software was not maintaining file ownerships and permissions.

Quote
Do I have to mount the ibay like an attached drive?


Or can I just use /home/e-smith/files/ibays/backup?


Royce Holdeman
Title: [ANNOUNCE] smeserver-dar2
Post by: exocet on January 08, 2007, 06:51:46 PM
Thanks Darrell!

It works well, also the restore is ok.

PS:
I still use a NT-server because my tape-drive & ERP-system aren't supported by sme7 / linux.
Title: [ANNOUNCE] smeserver-dar2
Post by: psoren on January 09, 2007, 12:01:23 AM
Quote from: "exocet"
I need to backup to a NT-server; I use an ibay for the target.
Get following email

Quote
Connecting to /home/e-smith/files/ibays/backup/files
mount: can't find /home/e-smith/files/ibays/backup/files in /etc/fstab or /etc/mtab


Do I have to mount the ibay like an attached drive?

thanks


You are backing up the server to the server it self. That is not a logical way and i don't think it can do that. You say you need to back up to a NT server, so you can back up to a network share on that. I use that and it works fine.

Per
Title: [ANNOUNCE] smeserver-dar2
Post by: pippin on January 09, 2007, 11:44:23 AM
If yoy want to test the diasater recovery in commandline how do you do that ?Never mind i found it myself
Title: [ANNOUNCE] smeserver-dar2
Post by: mercyh on January 12, 2007, 02:36:34 PM
PER,

Thanks for the information on backup to a local share. I have set the backup to go to a share on the NT server. I then grab it with tape from there.

I do have a question on what the proper filesystem is for backup to NT/XP

SMBFS or CIFS?

Thanks,

Royce Holdeman
Title: [ANNOUNCE] smeserver-dar2
Post by: pippin on January 13, 2007, 12:29:21 PM
I am setting up a SME Server at my sisters place and like to backup those machine using samba to my SME.I have a smoothie in front of SME at my place so only those IP is allowed to access my network with samba traffic,but how do i mount such backup if its possible?
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on January 14, 2007, 04:42:50 AM
Quote from: "mercyh"
I do have a question on what the proper filesystem is for backup to NT/XP. SMBFS or CIFS?

NT/XP = SMBFS.

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on January 14, 2007, 04:53:02 AM
Quote from: "pippin"
I am setting up a SME Server at my sisters place and like to backup those machine using samba to my SME.I have a smoothie in front of SME at my place so only those IP is allowed to access my network with samba traffic,but how do i mount such backup if its possible?
Install smeserver-dar2 on your sister's server. Create an ibay on your server. Have her backup to your ibay. On your server perform a standard backup (which will include all ibays and her dar archives).

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: del on January 14, 2007, 08:12:55 PM
H Darrell,

Is there only one rpm to install for this contrib?

Thanks,
Del
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on January 15, 2007, 01:55:38 AM
Quote from: "del"
Is there only one rpm to install for this contrib?

If your installing on SME 7.1 you need two:

The Disk ARchive program:
1) dar-2.3.2-1.i386.rpm

My contrib:
2) smeserver-dar2-0.0.1-1dmay.noarch.rpm

Darrell
Title: [ANNOUNCE] smeserver-dar2
Post by: p-jones on January 18, 2007, 12:00:25 PM
I am getting theis message back and I am not sure if I should be concerned. In fact I am not even sure what it means. A look at the Dar site has not enlightened me.

/etc/e-smith/events/actions/dar2-backup: line 87:  1762 File size limit exceeded$DAR -B /etc/dar2/$DCF -c $MOUNT/$ID/$DCF/$TODAY

Anyone ?

Thanks
Peter
Title: [ANNOUNCE] smeserver-dar2
Post by: wjhobbs on January 19, 2007, 12:56:26 AM
Hi Darrell,

Please tell me where I should record a new feature request.

I have a client that cycles his dar2 backup usb disks offsite. In view of highly publicized media reports of backups going missing with valuable/personal information, I would like to find a way to encrypt the backups. I understand that dar has an encryption capability. Would it be possible to add encryption as an option to the dar2 jobs?

Thanks.

John
Title: [ANNOUNCE] smeserver-dar2
Post by: Elliott on February 05, 2007, 10:23:04 PM
Quote from: "dmay"
Quote from: "del"
Is there only one rpm to install for this contrib?

If your installing on SME 7.1 you need two:

The Disk ARchive program:
1) dar-2.3.2-1.i386.rpm

My contrib:
2) smeserver-dar2-0.0.1-1dmay.noarch.rpm

Darrell


I'm sorry for asking what I guess I should know, but how do I install? Sometimes I see reference to a yum localinstall command and sometime an rpm -ivh command. I've searched the contribs forum for standards and I've read this whole thread. I see the rpm method was listed with the betas. Can someone chime in on the proper way to install?

Thanks,
E
Title: [ANNOUNCE] smeserver-dar2
Post by: Snoopyski on February 05, 2007, 10:32:14 PM
Hello Darell,

First I want to say "THANKS" for your contribs... But for ALL OF YOUR JOB DONE for the SME Server community...

I gust have a small sugestion for the Backup2 contribs...

It is possible to add a option to do a backup from Monday to Friday... Because a lot of enterprise dosen't work on weekend so why doing backup and used hardware parts (hard drive...) !!! ...

Thanks,

Snoopyski
Title: [ANNOUNCE] smeserver-dar2
Post by: wjhobbs on February 05, 2007, 10:50:45 PM
Elliott,

This is what I do:

Download the needed files into a directory on your server (I use ‘dar2’ in the ‘software’ ibay):

# cd /home/e-smith/files/ibays/software/files/dar2
# wget http://mirror.contribs.org/smeserver/contribs//dmay/smeserver/7.x/dar-2.3.2-1.i386.rpm
# wget http://mirror.contribs.org/smeserver/contribs//dmay/smeserver/7.x/smeserver-dar2-0.0.1-1dmay.noarch.rpm


Go to that directory:
# cd /home/e-smith/files/ibays/software/files/dar2

Install the packages

# yum localinstall  dar-2.3.2-1.i386.rpm smeserver-dar2-0.0.1-1dmay.noarch.rpm

and perform the signal-event post-upgrade; signal-event reboot.

John
Title: [ANNOUNCE] smeserver-dar2
Post by: bpivk on February 05, 2007, 11:16:50 PM
wjhoobs you can remove both rpm's if you want
Title: [ANNOUNCE] smeserver-dar2
Post by: Elliott on February 06, 2007, 04:17:59 AM
Quote from: "wjhobbs"

Install the packages

# yum localinstall  dar-2.3.2-1.i386.rpm smeserver-dar2-0.0.1-1dmay.noarch.rpm

and perform the signal-event post-upgrade; signal-event reboot.


Thanks!
-E
Title: [ANNOUNCE] smeserver-dar2
Post by: raem on February 06, 2007, 07:56:13 AM
Elliott

>..and perform the signal-event post-upgrade; signal-event reboot

When using yum to install rpms, it should not always be necessary to do a post upgrade & reboot, the rpms you are installing should expand templates and restart any required services.

By using yum, it will automatically look for and install any dependencies (other rpms) required by the rpms you are installing.

You can still use
rpm -Uvh rpmname
(in prefernce to rpm -ivh rpmname)
as long as you have all the rpms & dependencies required, preferably saved in a empty folder, and you cd to that folder and do
rpm -Uvh *.rpm

yum is particularly good when installing directly from external repositories, using the --enablerepo switch, search the forums for various examples of this, as it will take care of dependencies and download and install those as well.

eg
yum --enablerepo=reponame1 install package

http://forums.contribs.org/index.php?topic=35107.0

http://smeserver.sourceforge.net/sme7/tech/Chapter2
Title: [ANNOUNCE] smeserver-dar2
Post by: dmajwool on February 06, 2007, 04:56:21 PM
Quote from: "RayMitchell"
When using yum to install rpms, it should not always be necessary to do a post upgrade & reboot

Hi Ray.
Is there an easy way to determine when a post-upgrade and reboot is required, and when it is not?

Thanks, David.
Title: [ANNOUNCE] smeserver-dar2
Post by: raem on February 06, 2007, 05:10:24 PM
dmajwool

> Is there an easy way to determine when a post-upgrade and reboot is required, and when it is not?

As I understand it, if you are installing a specific package (rpm), then a post upgrade & reboot would usually not be necessary, the required actions are performed by the rpm.

If you are doing a major upgrade or update using yum which involves many packages being updated (especially including the kernel), then a post upgrade & reboot will definitely be required.
Title: [ANNOUNCE] smeserver-dar2
Post by: Elliott on February 06, 2007, 05:15:18 PM
Quote from: "RayMitchell"
dmajwool

> Is there an easy way to determine when a post-upgrade and reboot is required, and when it is not?

As I understand it, if you are installing a specific package (rpm), then a post upgrade & reboot would usually not be necessary, the required actions are performed by the rpm.

If you are doing a major upgrade or update using yum which involves many packages being updated (especially including the kernel), then a post upgrade & reboot will definitely be required.


That's some pretty key information to know that I don't remember reading anywhere. I'd say that it's the type of Q&A that an F.A.Q. should contain.

Thanks for the knowledge!

-E
Title: Dar2 jobs not running automatically? Do I need to add cron
Post by: vschmidt on February 07, 2007, 03:19:32 PM
Hello,

Although I have been running a SME server-only box since 2000, I am not a skilled linux admin - part of the appeal of SME is its relative simplicity to administer in small biz environment.

With a little effort, I have my old server recognizing a USB drive and have dar2 *working* as far as I can launch a defined backup job from the control panel, and it runs.

However, my job is defined to run every night, but it does not do so on its own.  Any ideas what I am missing here?  Do I need to add as a cron job, and if so - can someone point me in the right direction?

Thank you, and thanks to dmay for his work!
Title: Re: Dar2 jobs not running automatically? Do I need to add cr
Post by: Elliott on February 07, 2007, 03:28:48 PM
Quote from: "vschmidt"
I have my old server recognizing a USB drive and have dar2 *working* as far as I can launch a defined backup job from the control panel, and it runs.

However, my job is defined to run every night, but it does not do so on its own.  Any ideas what I am missing here?  Do I need to add as a cron job, and if so - can someone point me in the right direction?


This might be stating the obvious but did you set the "backup Day" to something besides manual. If you want it to run every night at 11pm for example you should set the backup day to * and the backup time to 23:00

-E
Title: Re: Dar2 jobs not running automatically? Do I need to add cr
Post by: vschmidt on February 07, 2007, 03:33:25 PM
Quote from: "Elliott"


This might be stating the obvious but did you set the "backup Day" to something besides manual. If you want it to run every night at 11pm for example you should set the backup day to * and the backup time to 23:00

-E


That is correct - I use * for every day.
Title: Re: Dar2 jobs not running automatically? Do I need to add cr
Post by: dmay on February 07, 2007, 08:47:32 PM
Quote from: "vschmidt"
However, my job is defined to run every night, but it does not do so on its own.  Any ideas what I am missing here?  Do I need to add as a cron job, and if so - can someone point me in the right direction?

View /etc/crontab which should list your scheduled dar2 job.
View /var/log/messages for errors around your 23:00 scheduled start time.

Darrell
Title: Re: Dar2 jobs not running automatically? Do I need to add cr
Post by: vschmidt on February 07, 2007, 09:08:37 PM
Quote from: "dmay"

View /etc/crontab which should list your scheduled dar2 job.
View /var/log/messages for errors around your 23:00 scheduled start time.

Darrell


I think I found it, will know tonight.  I am used to IBM time format hhmmss, but it looks like I should use hh:mm:ss here...
Title: [ANNOUNCE] smeserver-dar2
Post by: pnmls on February 09, 2007, 11:19:03 PM
Hi,
I'm having some dificulty working with dar2.
I've installed last version on sme 7.1 server and configured a full backup job  manual. However, I don't get the desired backup in my usb-disk. It is mounted and rw mode. In the /var/log/messages, I get this:
|Action|S50rewind-tape|Start|1171057152 467773|End|1171057152 593518|Elapsed|0.125745
Feb  9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|1|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password|11.FZdpvs|Prune||Slice|650|Target|/dev/sdc1|Username|admin|VFSType|ext3|Verbose|off|backupDay|manual|backupTime|17:05|status|enabled
Feb  9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|1|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password|11.FZdpvs|Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|17:05|status|enabled
Feb  9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|1|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password|11.FZdpvs|Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|17:05|status|enabled
Feb  9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|1|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password||Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|17:05|status|enabled
Feb  9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|1|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password||Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|17:05|status|enabled
Feb  9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|1|Description|backup__total|Exclude||Expiry|0|Mount|/dev/sdc1|Password||Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|17:05|status|enabled
Feb  9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|1|Description|backup__total|Exclude||Expiry|0|Mount|/dev/sdc1|Password||Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|17:05|status|enabled
Feb  9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/dev/sdc1|Password||Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|17:05|status|enabled
Feb  9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/dev/sdc1|Password||Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|17:05|status|enabled
Feb  9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/dev/sdc1|Password||Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:43|status|enabled
Feb  9 21:42:51 www kernel: kjournald starting.  Commit interval 5 seconds
Feb  9 21:42:51 www kernel: EXT3 FS on sdc1, internal journal
Feb  9 21:42:51 www kernel: EXT3-fs: mounted filesystem with ordered data mode.
Feb  9 21:43:39 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31308]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/dev/sdc1|Password||Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:43|status|enabled
Feb  9 21:43:39 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31308]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/dev/sdc1|Password||Prune||Slice|650|Target|/mnt/dar2|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:43|status|enabled
Feb  9 21:43:39 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31308]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/dev/sdc1|Password||Prune||Slice|650|Target|/mnt/dar2|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:43|status|enabled
Feb  9 21:43:39 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31308]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password||Prune||Slice|650|Target|/mnt/dar2|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:43|status|enabled
Feb  9 21:43:39 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31308]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password||Prune||Slice|650|Target|/mnt/dar2|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:43|status|enabled
Feb  9 21:43:39 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31308]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password||Prune||Slice|650|Target|/mnt/dar2|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:45|status|enabled
Feb  9 21:45:32 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31375]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password||Prune||Slice|650|Target|/mnt/dar2|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:45|status|enabled
Feb  9 21:45:32 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31375]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password||Prune||Slice|650|Target|/media/usbdisk|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:45|status|enabled
Feb  9 21:45:32 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31375]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password||Prune||Slice|650|Target|/media/usbdisk|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:45|status|enabled
Feb  9 21:45:32 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31375]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/media/usbdisk|Password||Prune||Slice|650|Target|/media/usbdisk|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:45|status|enabled
Feb  9 21:45:32 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31375]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/media/usbdisk|Password||Prune||Slice|650|Target|/media/usbdisk|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:45|status|enabled
Feb  9 21:45:32 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31375]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/media/usbdisk|Password||Prune||Slice|650|Target|/media/usbdisk|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:47|status|enabled
Feb  9 21:46:48 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31410]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/media/usbdisk|Password||Prune||Slice|650|Target|/media/usbdisk|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:47|status|enabled
Feb  9 21:46:48 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31410]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/media/usbdisk|Password||Prune||Slice|650|Target|/media/usbdisk1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:47|status|enabled
Feb  9 21:46:48 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31410]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/media/usbdisk|Password||Prune||Slice|650|Target|/media/usbdisk1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:47|status|enabled
Feb  9 21:46:48 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31410]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/media/usbdisk1|Password||Prune||Slice|650|Target|/media/usbdisk1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:47|status|enabled
Feb  9 21:46:48 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31410]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/media/usbdisk1|Password||Prune||Slice|650|Target|/media/usbdisk1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:47|status|enabled
Feb  9 21:46:48 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31410]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/media/usbdisk1|Password||Prune||Slice|650|Target|/media/usbdisk1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:48|status|enabled
Feb  9 21:47:00 www kernel: kjournald starting.  Commit interval 5 seconds
Feb  9 21:47:00 www kernel: EXT3 FS on sdc1, internal journal
Feb  9 21:47:00 www kernel: EXT3-fs: mounted filesystem with ordered data mode.
Feb  9 21:47:00 www esmith::event[31436]: Processing event: pre-backup
Feb  9 21:47:00 www esmith::event[31436]: Running event handler: /etc/e-smith/events/pre-backup/S10mysql-delete-dumped-tables
Feb  9 21:47:00 www esmith::event[31436]: S10mysql-delete-dumped-tables=action|Event|pre-backup|Action|S10mysql-delete-dumped-tables|Start|1171057620 947971|End|1171057620 951465|Elapsed|0.003494
Feb  9 21:47:00 www esmith::event[31436]: Running event handler: /etc/e-smith/events/pre-backup/S20mysql-dump-tables
Feb  9 21:47:00 www esmith::event[31436]: mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
Feb  9 21:47:00 www esmith::event[31436]: S20mysql-dump-tables=action|Event|pre-backup|Action|S20mysql-dump-tables|Start|1171057620 951786|End|1171057620 962112|Elapsed|0.010326|Status|512
Feb  9 21:47:00 www esmith::event[31436]: Running event handler: /etc/e-smith/events/pre-backup/S50rewind-tape
Feb  9 21:47:01 www esmith::event[31436]: S50rewind-tape=action|Event|pre-backup|Action|S50rewind-tape|Start|1171057620 962306|End|1171057621 88497|Elapsed|0.126191

If I do it manualy, I only get to the pre-processing event and it stops.
Anyone have an ideia?!?!?!?!

Thanks
Pedro
Title: [ANNOUNCE] smeserver-dar2
Post by: dmay on February 11, 2007, 05:18:41 PM
Everyone, let's end this original announcement post.  :wink:

Please open new a topic post for your individual help request. A separate post will make it easier for people to provide you with assistance on your particular problem.

Darrell