[qmailtoaster] Problems with qtp-restore on CentOS6 x64

2013-05-29 Thread Diana Calder
I don't think the problems that I ran into with qtp-restore actually
have anything to do with CentOS6 x64 as they seem to be typos within
the script but I'm mentioning the platform just in case. The server
was set up using Dan's CentOS6 script a few months ago. I've just
finally gotten around to copying the live server's info over for final
testing prior to going live with the new server and discovered the
issues with qtp-restore.

After I got my backup file in the right place and ran the script, I
ended up with some files missing. I couldn't login to Squirrelmail
(still not resolved - looks like it's IMAP-related as can't connect to
IMAP via client either - switching to Dovecot and we'll see if that
resolves the problem) so I started poking around its (Squirrelmail's)
config, then discovered the missing plugins. So I started
investigating, realized that while they *were* part of the backup
files, they hadn't been restored. So I started going through the
qtp-restore script line-by-line. I discovered that, pretty much
wherever there was a tar command, there were mistakes. For example, if
the --directory option was used, there was a space rather than an =
between --directory and the directory that it was supposed to restore
to, while a lot of the other options (such as xjvf) were missing the
leading - and so were throwing an error instead of restoring.

Once I edited the script to correct the tar commands, it seems to have
properly restored - I'm not missing any files anymore, at any rate -
though I still don't have IMAP/Squirrelmail working, so we'll see...).

-- 
Best regards,
 Diana  mailto:dcal...@essexcountylibrary.ca


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



RE: [qmailtoaster] Problems with qtp-restore on CentOS6 x64

2013-05-29 Thread Helmut Fritz
Can the corrections be passed along, or the corrected script?  That way it
could be incorporated into the released software if indeed there are issues.

-Original Message-
From: Diana Calder [mailto:dcal...@essexcountylibrary.ca] 
Sent: Wednesday, May 29, 2013 12:58 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] Problems with qtp-restore on CentOS6 x64

I don't think the problems that I ran into with qtp-restore actually have
anything to do with CentOS6 x64 as they seem to be typos within the script
but I'm mentioning the platform just in case. The server was set up using
Dan's CentOS6 script a few months ago. I've just finally gotten around to
copying the live server's info over for final testing prior to going live
with the new server and discovered the issues with qtp-restore.

After I got my backup file in the right place and ran the script, I ended up
with some files missing. I couldn't login to Squirrelmail (still not
resolved - looks like it's IMAP-related as can't connect to IMAP via client
either - switching to Dovecot and we'll see if that resolves the problem) so
I started poking around its (Squirrelmail's) config, then discovered the
missing plugins. So I started investigating, realized that while they *were*
part of the backup files, they hadn't been restored. So I started going
through the qtp-restore script line-by-line. I discovered that, pretty much
wherever there was a tar command, there were mistakes. For example, if the
--directory option was used, there was a space rather than an = between
--directory and the directory that it was supposed to restore to, while a
lot of the other options (such as xjvf) were missing the leading - and so
were throwing an error instead of restoring.

Once I edited the script to correct the tar commands, it seems to have
properly restored - I'm not missing any files anymore, at any rate - though
I still don't have IMAP/Squirrelmail working, so we'll see...).

--
Best regards,
 Diana  mailto:dcal...@essexcountylibrary.ca


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com