On Fri, Apr 9, 2010 at 4:49 AM, Lino <[email protected]> wrote:
>> > I like the idea of a realbackupaction and a real package action.
>>
>> I think I'm with you on this. Does anyone care to siggest the best way
>> tobackupa complete field across multiple OS's and servers, etc.
>
> I did it manually like:
> - zip-it all
> - unzip to the destination (http://www.php.net/manual/en/
> zip.examples.php)
> - change owner (http://php.net/manual/en/function.chown.php)
> - change permissions (http://php.net/manual/en/function.chmod.php) to
> 644 and leave BW to handle access control.
>
> The main problem is change of the owner when unzipping field. Pages
> has to be owned by 99 or www-data.

To get the right ownership (for security purposes) you would need to
extract offline and ftp it up.

I wish we had a way to click a button and have some command line
script executed which did the zipping, emailed the backup (or stored
it online somewhere and emailed a link), and then forwarded the
browser to a new page back in the site. It could theoretically be
written in about any language. I just don't know much about command
line scripts, or how to do a backup in php. For all I know there's a
simple php command... Hmmm, seems there are a couple options, but none
enabled on php installations by default. Probably would do better to
do some other language than php.

Cheers,
Dan

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en.

Reply via email to