Discussions


Here is the discussion page. Any comments, questions and suggestions are welcome.

22 comments:

Anonymous said...

is it possible to get a backup report by e-mail?

TcheTche said...

It's not yet implemented, but this will be in the next version :)
However, it's possible to have an email when zyxBackup is executed by cron. In this case you have to insert a line "MAILTO=myemail@domain.com" in your crontab configuration file, and then cron will send an email.

TcheTche said...

Here is the new release (v0.3) which can be configured to send a report by email.

mbud lagi ngelindur said...

there is no ftp-upload command in my centos box, what software i have to install?

TcheTche said...

ftp-upload is a perl script that you can download on the website of the author : http://www.argon.org/~roderick/
Just copy it in a "pathed" directory, such as /usr/bin.
Please let me know if that works.

Anonymous said...

Yes, its possible to get a backup report by e-mail?
I try the options of the script but it don't send it. why?

TcheTche said...

The script uses the "mail" command to send an email. This means that the local MTA have to be correctly configured to work as a local SMTP relay. For example, under Debian, you should install exim4 and configure it with the command "dpkg-reconfigure exim4-config"

Anonymous said...

This script is fabulous but, i need to create an incremental backup. There is any way to do it?

TcheTche said...

Thank you :)
Unfortunately not, this script is not designed to make an incremental backup.
For this I think you should better use "rsync" which works perfectly for such needs. I also use it in some cases.

lenora said...

this script looks great, but i am missing something. please help

14:22:29: Creating archive file server-090713.142229.tar...
14:22:29: Archiving files in server-090713.142229.tar...
14:22:29: Compressing archive file to server-090713.142229.tar.gz...
14:22:29: Uploading (FTP) [server-090713.142229.tar.gz] to name1.name2.com
14:22:29: End of backup. 10.00Ko backed up (Archive size : 10.00o). Took 0h0m0s

TcheTche said...

Dear Lenora,

You have to edit the script and define the variables.
By default it makes no backup, so you have to define what you want to backup.
To backup files, you have to define:
BACKUP_FILES=1;
FILES_AND_DIRS_TO_BACKUP="/etc /var/log /what_you_want";

Csabo2 said...

i'm getting "unexpected operator" on lines 327 through 352.."

TcheTche said...

Hello Csabo2;

These lines encloses all the calls to the functions.
This means that all the script is not working for you, and this is really strange.

What kind of OS/distribution are you using? Is BASH shell included on your OS?

Regards,
TcheTche

noneck said...
This comment has been removed by the author.
Anonymous said...

HI,

I am getting this error could you please help me?

17:04:04: zyxBackup v0.3 (2008-11-13) processing backup...
./zyxBackup-0.3-81113: line 217: 1+1++: syntax error: operand expected (error token is "+")

Alrik said...

I'm getting the same error.

[: 327: 1: unexpected operator
[: 327: 1: unexpected operator
[: 327: 1: unexpected operator
[: 327: 0: unexpected operator
[: 328: 2: unexpected operator
[: 329: 1: unexpected operator
[: 329: 1: unexpected operator
[: 329: 2: unexpected operator
[: 329: 0: unexpected operator
[: 331: 0: unexpected operator
[: 332: 2: unexpected operator
[: 333: 0: unexpected operator
[: 334: 0: unexpected operator
[: 339: 1: unexpected operator
[: 339: 1: unexpected operator
[: 339: 2: unexpected operator
[: 339: 0: unexpected operator
[: 341: 0: unexpected operator
[: 346: 1: unexpected operator
[: 347: 0: unexpected operator
[: 348: 0: unexpected operator
[: 350: 1: unexpected operator
[: 350: 1: unexpected operator
[: 350: 1: unexpected operator
[: 350: 0: unexpected operator
[: 352: 0: unexpected operator

Ubuntu 10.10

Alrik said...

I've found the problem... was on the shell declaration.

I've got #!/bin/sh and the correct is #!/bin/bash

Happy new year!

TcheTche said...

Hi Alrik,

Happy new year to you.

There is no "correct" shell declaration.
Using /bin/sh will work if you have sh installed.
In my case (and in the case of most users), it works. But it's not "incorrect" to change it to /bin/bash when it's working for you ;-)

TcheTche;

Anonymous said...

Is it possible to use this script to upload from a linux server to a windows machine?

TcheTche said...

Yes, it possible using upload via FTP, and installing a FTP server on your windows machine.

TcheTche said...

Yes it's possible using upload via FTP, and installing a FTP server on your windows machine.

Anonymous said...

We've been using this script for a while, but now we've found a very serious issue: actually there's simply no error handling in the entire script.

We've faced a full disk, even though zyxBackup ran without a message, and we only received information from independent sources...

Are you planning to implement error handling? We like this script, but this is actually a showstopper for us...