Sponsored Content
Top Forums UNIX for Beginners Questions & Answers How Do I FTP System Files to Different Server? Post 303020988 by jgt on Wednesday 1st of August 2018 06:15:25 PM
Old 08-01-2018
the groups are maintained in /etc/groups.
you can copy the user and password information using ap.
Code:
ap -d >/tmp/ap.list

and
Code:
ap -r -f /tmp/ap.list

on the new system after copying /tmp/ap.list to the new system.
you can find the files in /etc that you may need by:
Code:
cd /etc
ls -l |grep -v "@"

to list files in /etc that are not part of the operating system
use
Code:
cd /etc
ls -ltr

to list files by last modified, the files at the end of the list may have been modified since installation.
/var and /usr are links so all you might need is /usr/spool/lp/admins/lp/interfaces to get all the printer files.
Add the printers on the new system and just get the correct device, the model name won't matter.
then restore the interfaces directory from the old system.
check for differences between the contents of /etc/rc2.d on both systems.

------ Post updated at 06:15 PM ------

you can use the same
Code:
ls -l /usr/bin |grep -v "@" 
ls -l /bin |grep -v "@"

to find files in these directories that are not part of the operating system.
These 2 Users Gave Thanks to jgt For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

FTP multiple files from remote server to local server

Hi, I am facing a weired problem in my FTP script. I want to transfer multiple files from remote server to local server everyday, using mget * in my script. I also, want to send an email for successful or failed FTP. My script works for file transfer, but it don't send any mail. There is... (2 Replies)
Discussion started by: berlin_germany
2 Replies

2. Solaris

Secure FTP Problem using Sun SSH on Client system F-Secure on Server system

I am using shell script to do secure ftp. I have done key file setup to do password less authentication. Following are the FTP Details: FTP Client has Sun SSH. FTP Server has F-Secure. I am using SCP Command to do secure copy files. When I am doing this, I am getting the foll error scp:... (2 Replies)
Discussion started by: ftpguy
2 Replies

3. Shell Programming and Scripting

FTP files to target Mainframe system

Hi Experts... Greetings for the day..! I just want to FTP the files to mainframe system.. my code is not working..and also i need to put the files in a particular directory in a specific naming format... ftp -i -n ${HOST_NAME} << END_FTP user ${USER_NAME} ${PASSWORD} put ${FILE_NAME}... (3 Replies)
Discussion started by: spkandy
3 Replies

4. UNIX for Dummies Questions & Answers

FTP Files from one server to another

Hi, I want to run a process on server a, pulling files from server b and pushing it to server c. Can i do that without dropping the files on server a? Thanks, Samit (2 Replies)
Discussion started by: samit_9999
2 Replies

5. Filesystems, Disks and Memory

Not able to FTP the files to a FTP server

Hi , We are facing a weird problem in our project. we need to send some xml & audio files to a remote FTP server from a Linux box, we are doing this in Perl script using Net::FTP->. Issue here is.. when FTPed the files using Perl scripts, only empty files ( 0 byte) are getting created on the... (2 Replies)
Discussion started by: kishorepotta
2 Replies

6. Shell Programming and Scripting

script for to take files from FTP server to UNIX server and Unzipped that files

script for to take files from FTP server to UNIX server and Unzipped that files (1 Reply)
Discussion started by: sunilamarnadh
1 Replies

7. Shell Programming and Scripting

Validating the size of file transferred from ftp server to the local system

Validating the size of file transferred from ftp server to the local system. File type: Text file/Flat file Source System: Windows / Unix Systems Target System is always: Unix Mode of Transfer : ASCII We have generic ftp shell script that transfers the files from different ftp servers. ... (2 Replies)
Discussion started by: jpundalik
2 Replies

8. Shell Programming and Scripting

Need help creating a script to FTP files to a server and then delete the files that were transfered.

I am trying to FTP files to a Windows server through my Linux machine. I have setup the file transfer with no problems but am having problem deleting those files from the Linux box. My current non-working solution is below. Any ideas, anyone?? :wall: Please be gentle, I'm fairly new to this... (4 Replies)
Discussion started by: jmalfhs
4 Replies

9. Shell Programming and Scripting

FTP multiple files from one server to one server

Hi, I'm new to shell script..I have one requriement like - In one server have more than one files,I want to ftp those files to some otehr server.. Ex : test1.pdf test2.pdf Please suggest me how to do (3 Replies)
Discussion started by: venkaswa
3 Replies

10. Solaris

FTP-ing files from Windows server to UNIX server

I need to transfer files from a Windows server to the Unix server and have to run some shell script on it to get the required output. Is it possible to transfer files from Windows server to unix server through any shell script? If so can you please help me with the details. Thanks in... (8 Replies)
Discussion started by: ssk250
8 Replies
genufi(8)						      System Manager's Manual							 genufi(8)

NAME
genufi - Generates a User File Inventory (UFI) file SYNOPSIS
/usr/bin/genufi DESCRIPTION
The genufi utility creates a User File Inventory (UFI) file that contains the names of user files created or copied to your system after an installation. Some of these files reside on file systems that are overwritten during a new installation of the operating system. You must have superuser privileges to run the genufi utility, and you must invoke the genufi utility from the /usr/.smdb. directory. To create the UFI file, the genufi utility checks the Master Synchronization Inventory (MSI) file created by the invsync utility to deter- mine which file systems will be overwritten by a complete installation. The genufi utility searches those file systems for user files and writes these entries to the UFI file. File systems that remain intact during a new installation of the operating system are not searched. The genufi utility also filters out certain files and directories that would not commonly be considered for backup. For example, some log files, installation files, and temporary directories do not need to be restored after a complete installation and are not written to the UFI file. The following directories are not included: /tmp /tmp /usr/.smdb. /usr/sys/HOST /var/adm/smlogs /var/adm/syslog.dated /var/rwho /var/tmp In the previous list, HOST represents the hostname of the system (such as /usr/sys/BLUTO) on the system named bluto. The following files are not included: */core */*.dummy */.new.. /osf_boot */.profile */.proto.. /var/adm/binary.errlog /var/adm/xdm/xdm-pid */vmcore /*vmunix Edit the UFI file to remove the entries for files and directories that you do not want to back up. The UFI file is written in the setld inventory file format. Refer to the stl_inv(4) reference page for more information. RESTRICTIONS
You must have superuser privileges to run the genufi utility. You must invoke the genufi utility from the /usr/.smdb. directory. FILES
Master Synchronization Inventory file User File Inventory file SEE ALSO
ils(8), invsync(8), udelta(8), udetect(8), updmv(8), usync stl_inv(4) genufi(8)
All times are GMT -4. The time now is 06:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy