Ask Your Question

Revision history [back]

The files are on two servers without a shared disk space so cp will not work. Rsync might work, but the solution I found is to tar the .sage directory, which preserves the symlinks. Then I copied the .tar file to the new server. Then I untarred the on the new server.

#on old server:
        tar -c .sage -f .sage.tar
#copy to the new server (I used sftp).
#on new server in the root of the user where sage will run:
         tar -xf .sage.tar

Thanks, Jonathan

The files are on two servers without a shared disk space so cp will not work. Rsync might work, but the solution I found is to tar the .sage directory, which preserves the symlinks. Then I copied the .tar file to the new server. Then I untarred the file on the new server.

#on old server:
        tar -c .sage -f .sage.tar
#copy to the new server (I used sftp).
#on new server in the root of the user where sage will run:
         tar -xf .sage.tar

Thanks, Jonathan