Using tar to transfer albums from G1 to new server
|
hmallett
Joined: 2007-01-18
Posts: 2 |
Posted: Thu, 2007-01-18 23:10
|
|
Hi all, I'm moving my gallery from one server to another, and am going to take the opportunity to migrate from G1 to G2 at the same time. What I propose to do is to tar up the albums folder from my G1 installation, transfer it to the new server, untar it, and put it in a temporary location to use the G1 import module. I've tested it as much as I can on the existing server, but where I'm falling down is that when I tar up the albums folder, it's missing all the files starting with . - this includes the users data. So I suppose my questions are: It's GNU tar, BTW. Thanks in advance, |
|
| Login or register to post comments |

Posts: 14
You don't say what command-line you use. I don't believe I have had a problem when trying to archive a whole directory + contents, eg:
If you did something like the following, I can see why it didn't include "dotfiles":
The * doesn't match dotfiles as they are considered "hidden files" in unix. If you *really must* do it this way, something like the following should work:
-
I use rsync over ssh to copy from one server to another (in this kind of case) a la: