Hi I try to do a ZODB packing and backup, I read Maintaining Zope unit in Zope Book and type the python script (zope-pack) but when run it request admin login and password. How to do to pass login and password in zope-pack script Thank in advance -- Alvaro Jesus Hernandez Arteaga alhernan@uc.edu.ve Linux Counter: 122569
Alvaro Jesus Hernandez Arteaga wrote at 2003-10-7 17:36 -0400:
I try to do a ZODB packing and backup, I read Maintaining Zope unit in Zope Book and type the python script (zope-pack) but when run it request admin login and password.
How to do to pass login and password in zope-pack script
I do not know what the section in the Zope Book tells you. However, when you use "wget", you can define username and password in ".wgetrc". Ensure, that only the "wget" process has read access to this file. Dieter
Alvaro Jesus Hernandez Arteaga wrote:
I try to do a ZODB packing and backup, I read Maintaining Zope unit in Zope Book and type the python script (zope-pack) but when run it request admin login and password.
How to do to pass login and password in zope-pack script
If it's backup you want, I'd just copy Data.fs as part of a cron job running on the server... Chris
On Thursday 09 October 2003 14:34, Chris Withers wrote:
Alvaro Jesus Hernandez Arteaga wrote:
I try to do a ZODB packing and backup, I read Maintaining Zope unit in Zope Book and type the python script (zope-pack) but when run it request admin login and password.
How to do to pass login and password in zope-pack script
If it's backup you want, I'd just copy Data.fs as part of a cron job running on the server...
...taking care to use fsync at the right places to avoid data loss if your machine crashes half way through the copy. -- Toby Dickenson
Here is what I do (if it helps): - Nightly I use a cron and fsync to copy the Data.fs over another drive in a folder per day (there is a script on Zope.org) (last seven days of Data.fs) - Weekly I tar up the entire zope installation /usr/local/zope/ and put it on a back up disk dated (zope_20031009.tar.gz) unlimited. - Weekly I back up to tape and rotate that tape offsite monthly This is all running on a RAID array. In the end of the day, back up a ton... you will NEVER regret having too much back up. I used to use the fsync trick to do an hourly backup as well of Data.fs. BZ -- http://www.zopezone.com http://www.bluewildfire.com
On Thursday 09 October 2003 14:34, Chris Withers wrote:
Alvaro Jesus Hernandez Arteaga wrote:
I try to do a ZODB packing and backup, I read Maintaining Zope unit in Zope Book and type the python script (zope-pack) but when run it request admin login and password.
How to do to pass login and password in zope-pack script
If it's backup you want, I'd just copy Data.fs as part of a cron job running on the server...
...taking care to use fsync at the right places to avoid data loss if your machine crashes half way through the copy.
-- Toby Dickenson
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
On Thu, Oct 09, 2003 at 09:55:09AM -0400, BZ wrote:
In the end of the day, back up a ton... you will NEVER regret having too much back up.
... unless you start the process by copying the Data.fs locally and your backup script stupidly keeps too many of these around, and your drive fills up and zope fails with I/O errors due to no free drive space. Oops. Otherwise, I agree. -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's THE PICKLE! (random hero from isometric.spaceninja.com)
On Thursday 09 October 2003 16:59, Paul Winkler wrote:
On Thu, Oct 09, 2003 at 09:55:09AM -0400, BZ wrote:
In the end of the day, back up a ton... you will NEVER regret having too much back up.
... unless you start the process by copying the Data.fs locally and your backup script stupidly keeps too many of these around, and your drive fills up and zope fails with I/O errors due to no free drive space. Oops.
You keep backups on the same filesystem as your original data? baaaah. You will never regret having too many filesystems. ;-) -- Toby Dickenson
Drive space is cheap. Very cheap. I have lost TONS of data (Zope sites) in the past due to a Filesystem corruption as a RH kernel went down, so you can never ever ever have too much back ups. I also pull down the weekly zope back ups to my local machine (off of the server) just in case the State where my hosting company is goes up in flames (big state). BZ -- http://www.zopezone.com http://www.bluewildfire.com
On Thu, Oct 09, 2003 at 09:55:09AM -0400, BZ wrote:
In the end of the day, back up a ton... you will NEVER regret having too much back up.
... unless you start the process by copying the Data.fs locally and your backup script stupidly keeps too many of these around, and your drive fills up and zope fails with I/O errors due to no free drive space. Oops.
Otherwise, I agree.
--
Paul Winkler http://www.slinkp.com Look! Up in the sky! It's THE PICKLE! (random hero from isometric.spaceninja.com)
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Toby Dickenson wrote:
On Thursday 09 October 2003 14:34, Chris Withers wrote:
Alvaro Jesus Hernandez Arteaga wrote:
I try to do a ZODB packing and backup, I read Maintaining Zope unit in Zope Book and type the python script (zope-pack) but when run it request admin login and password.
How to do to pass login and password in zope-pack script
If it's backup you want, I'd just copy Data.fs as part of a cron job running on the server...
...taking care to use fsync at the right places to avoid data loss if your machine crashes half way through the copy.
Who said anything about fsync? ;-) Chris
participants (6)
-
Alvaro Jesus Hernandez Arteaga -
BZ -
Chris Withers -
Dieter Maurer -
Paul Winkler -
Toby Dickenson