1847936 Members
3789 Online
104021 Solutions
New Discussion

Re: full system backup

 
SOLVED
Go to solution
Joyce Suganthy
Advisor

full system backup

Hi all,

Need some help here.
a)Can I use another id other than root to perform a full file system backup?
If yes must the user be in the 'root' group?

b) How do i stop others from accessing the system when a full system backup is carried out?

Thanks alot

Joyce
4 REPLIES 4
Michael Tully
Honored Contributor

Re: full system backup

Yes you can. What I would do is install 'sudo' from here. The tool will allow (once configured simply) uses to do various tasks. You have control over what, including backups.

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.6/

You could also set up restricted 'sam'. Have a look at the man page for this.

To stop people accessing the system, you could make a copy of the password file, comment out all users that you don't want to give access to in the copy and move into place.
Anyone for a Mutiny ?
Rajeev  Shukla
Honored Contributor
Solution

Re: full system backup

Yes you need to give permission to the user to open the files or go into the directory to back them up.

The best way to backup the whole system would be to configure a fbackup and but that in the cron(which is automatically done when you do through SAM). You can specify your graph file to include and exculde the files and directory, fbackup also takes care of the files in use so you need not stop people from acessing the filesystem. Schedule this for night and also take a make_recovery for which you can configure sudo (by which even other users can run make_recovery)

Sritharan
Valued Contributor

Re: full system backup

Hi,

a)Yes, you can use another id to perform a full filesystem backup and you have to give the permission to the user to do so.

you can use sam -r to set the permission

b) you can do a fullbackup after entering the system in single mode. this will stop other user accessing the system

Thanks & Regards
Sri



Known is a drop...unknown is an ocean -> quote from a movie
Ravi_8
Honored Contributor

Re: full system backup

Hi,

you can use another id provided that id has root authority, best is using sudo as told by Michael.

back can also be performed in single user mode provided all the file systems are in vg00. if files are in different vg's, comment all users line in /etc/passwd file.
never give up