|
Home > Archive > Unix administration > January 2004 > backup with ufsdump
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
backup with ufsdump
|
|
|
| Is it possible to use ufsdump to do backup from a user's account
instead of root? I don't have root privilege, but I would like to do a
daily incremental backup on a filesystem (e.g. /u1) to a NFS volume
(e.g. /nfs/backup) that I have write access.
/usr/sbin/ufsdump 5uf /nfs/backup/u1.dmp /u1
If ufsdump is not an option, can you recommend one that is proper for
the task mentioned above?
Thanks,
JC
| |
| phn@icke-reklam.ipsec.nu 2004-01-23, 4:33 pm |
| JC <jingchenzhou@yahoo.com> wrote:quote:
> Is it possible to use ufsdump to do backup from a user's account
> instead of root? I don't have root privilege, but I would like to do a
> daily incremental backup on a filesystem (e.g. /u1) to a NFS volume
> (e.g. /nfs/backup) that I have write access.
quote:
> /usr/sbin/ufsdump 5uf /nfs/backup/u1.dmp /u1
quote:
> If ufsdump is not an option, can you recommend one that is proper for
> the task mentioned above?
quote:
> Thanks,
> JC
This is usually possible if :
1/ some group "operator?" is allowed read access to the raw-disk
2/ the user is a member of group "operator"
( cant speak for solaris, but it works this way in *BSD)
--
Peter Håkanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.
| |
| phn@icke-reklam.ipsec.nu 2004-01-23, 4:33 pm |
| JC <jingchenzhou@yahoo.com> wrote:quote:
> Is it possible to use ufsdump to do backup from a user's account
> instead of root? I don't have root privilege, but I would like to do a
> daily incremental backup on a filesystem (e.g. /u1) to a NFS volume
> (e.g. /nfs/backup) that I have write access.
quote:
> /usr/sbin/ufsdump 5uf /nfs/backup/u1.dmp /u1
quote:
> If ufsdump is not an option, can you recommend one that is proper for
> the task mentioned above?
quote:
> Thanks,
> JC
This is usually possible if :
1/ some group "operator?" is allowed read access to the raw-disk
2/ the user is a member of group "operator"
( cant speak for solaris, but it works this way in *BSD)
--
Peter Håkanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.
| |
| Akop Pogosian 2004-01-23, 4:33 pm |
| JC <jingchenzhou@yahoo.com> wrote:quote:
> Is it possible to use ufsdump to do backup from a user's account
> instead of root? I don't have root privilege, but I would like to do a
> daily incremental backup on a filesystem (e.g. /u1) to a NFS volume
> (e.g. /nfs/backup) that I have write access.
quote:
> /usr/sbin/ufsdump 5uf /nfs/backup/u1.dmp /u1
It is possible but you will need read access to the character special
device for that file system which usually means you have to belong to
group sys. But having read access to the file system's special device
file also makes it possible to bypass unix file permissions and read
ALL files on the disk. Likely, you won't be allowed to do that by
site's system administrators.
quote:
> If ufsdump is not an option, can you recommend one that is proper for
> the task mentioned above?
Use Solaris tar (it does not have ingremental backup option however),
cpio, GNU tar or star (the last three can be used for incremental
backups)
--
Akop Pogosian
This space has been accidentally left blank.
| |
| Akop Pogosian 2004-01-23, 4:33 pm |
| JC <jingchenzhou@yahoo.com> wrote:quote:
> Is it possible to use ufsdump to do backup from a user's account
> instead of root? I don't have root privilege, but I would like to do a
> daily incremental backup on a filesystem (e.g. /u1) to a NFS volume
> (e.g. /nfs/backup) that I have write access.
quote:
> /usr/sbin/ufsdump 5uf /nfs/backup/u1.dmp /u1
It is possible but you will need read access to the character special
device for that file system which usually means you have to belong to
group sys. But having read access to the file system's special device
file also makes it possible to bypass unix file permissions and read
ALL files on the disk. Likely, you won't be allowed to do that by
site's system administrators.
quote:
> If ufsdump is not an option, can you recommend one that is proper for
> the task mentioned above?
Use Solaris tar (it does not have ingremental backup option however),
cpio, GNU tar or star (the last three can be used for incremental
backups)
--
Akop Pogosian
This space has been accidentally left blank.
|
|
|
|
|