Backup a single album

virshu
virshu's picture

Joined: 2003-09-13
Posts: 314
Posted: Wed, 2003-12-24 07:30

I am trying to find if it was addressed somewhere else... In many cases I want to backup just one album. Either because I want to host it in a different place, or - most recent example - I am running out of space on my current host, and I simply don't have the space to tar/zip all albums together.

Is there a way to backup only one or only a few albums at a time?
Thx
Felix

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Wed, 2003-12-24 15:08

You can just download the appropriate album directory from the albums directory using FTP.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2003-12-24 15:39

or run a php script:
<?php
exec("gtar -czf albumname.tar.gz /absolute/path/to/public_html/albums/albumname/", $retval);
?>
and download the created compressed archive.