Koozali.org: home of the SME Server

user files backup

Frej

user files backup
« on: May 18, 2002, 06:52:52 AM »
Hello everyone,
I cannot get my backup to work as I want... I looked at the how-to at dungog.net, but I can't make it work as I want.

I would like to create a backup of ALL users files and profiles, yet the only one that comes out of the backup is the admin account (and I don't really care about it)...

Thx in advance for helping me out.

Frej.

stephen noble

Re: user files backup
« Reply #1 on: May 19, 2002, 05:15:32 PM »
>I would like to create a backup of ALL users files and profiles

hmmm how can i put this.
i'm sorry the howto wasn't adequate for you
but the dungog-backup rpm makes this trivial

regards
stephen

Frej

Re: user files backup
« Reply #2 on: May 19, 2002, 07:38:17 PM »
the dungog-backup is not available for free, is it ?

Frej.

stephen noble

Re: user files backup
« Reply #3 on: May 20, 2002, 05:34:27 AM »
no.
neither is rarlinux

stephen

Frej

Re: user files backup
« Reply #4 on: May 20, 2002, 06:53:37 AM »
sthg I don't understand is why having this (as said in the how-to) :

my @directories = (
        'home/e-smith',
        'home/e-smith/files/samba/profiles/adeline',
        'home/e-smith/files/samba/profiles/denise',
        'home/e-smith/files/samba/profiles/thomas',
        'home/e-smith/files/samba/profiles/raph',
        'home/e-smith/files/samba/profiles/nious',
        'home/e-smith/files/samba/profiles/gits',
        'home/e-smith/files/samba/profiles/frej',
        'home/e-smith/files/samba/profiles/pierrot',
        'home/e-smith/files/samba/profiles/yannick',
        'home/e-smith/files/users/adeline',
        'home/e-smith/files/users/denise',
        'home/e-smith/files/users/thomas',
        'home/e-smith/files/users/raph',
        'home/e-smith/files/users/nious',
        'home/e-smith/files/users/gits',
        'home/e-smith/files/users/frej',
        'home/e-smith/files/users/pierrot',
        'home/e-smith/files/users/yannick',
        'etc/e-smith/templates-custom',
        'etc/e-smith/templates-user-custom',
        'etc/ssh',
        'root/.ssh',
        'etc/passwd',
        'etc/shadow',
        'etc/group',
        'etc/gshadow',
        'etc/smbpasswd',
    );

isn't enough to backup the user's files & profiles.

Please let me know if sthg from the above is wrong.

thx a lot for helping.

Alejandro Lengua

Re: user files backup
« Reply #5 on: May 20, 2002, 05:55:27 PM »
Interesting...

BTW where are the default website files kept?

Frej

Re: user files backup
« Reply #6 on: May 20, 2002, 06:58:13 PM »
I guess that's in some path like /home/e-smith/files/primary/ if you mean by that the website that corresponds to your domain

note that websites are already saved with the default backup to disk...


I would like to add for my problem that the command
--
tar --directory / --create --file=/home/e-smith/e-smith-home-files.tar.gz --gzip home/e-smith/files/samba home/e-smith/files/users
--
just does it perfectly, but adding those 2 directories in the @directories of the backup script doesn't make it...

anyone has an idea of what to do to get it to work ?

thx for helping.