Sponsored Content
Operating Systems Solaris What is the best way to copy data from place to another place? Post 302371727 by unitipon on Monday 16th of November 2009 05:47:06 AM
Old 11-16-2009
Data What is the best way to copy data from place to another place?

Dear Gurus,

I need you to advice or suggestion about the best solution to copy data around 200-300G from serverA(location A) to serverB(location B). Normally, I will share folder and then copy but it takes too long time(about 2 days).

Do you have any suggestion or which way should be better?




PS. I tried to backup to LTO tape and restored but it takes too long time(about 2days) also Smilie
 

10 More Discussions You Might Find Interesting

1. Solaris

When does LK actually take place?

I appologize in advance, my question would be easly for me to research if I actually had a Solaris server that I had access to. And I am googled out. I am auditing a solaris 9.0 server's passwords (I was sent the passwd and shadow files) and need to know when the *LK*actually happens. In... (0 Replies)
Discussion started by: lerdahl
0 Replies

2. Shell Programming and Scripting

Getting the value of a line, that changes place

Hi I am trying to get the value of several results in a file called seq032.diag. The values I am looking for is down under Smooth Tracking nodes and is for g01r01 g02r01 s01t02 etc etc. The problem is that when I try to use look for text and tail etc, it works fine in one result file. In... (1 Reply)
Discussion started by: Navigatorchief
1 Replies

3. UNIX for Dummies Questions & Answers

Sorting data and place them in different folders

Hello Unix gurus, I am new to Unix. I am working on some dummy project which involves unix scripting. I have a query : There is a file Number.dat which is of form say AAA|123|4563|animal AAA|1234|45634|animal2 BBB|123444|456312|bird BBB|123445|456313|bird2 Here AAA,BBB are... (29 Replies)
Discussion started by: Vinaykumar1
29 Replies

4. Shell Programming and Scripting

How can I place a for statement....

In a script? I have some folders that contain many files of 8MB or more in size. Every day run "for file in F*; do gzip $file; done" How can I put this in a script to run automatically? (7 Replies)
Discussion started by: bbbngowc
7 Replies

5. UNIX for Dummies Questions & Answers

Copy dir/file from one place to another.

Hello all. I'm not getting the hang of Paths. I have a dir w/files that I want to copy to another dir. Right now I am in the "source" directory. I want to copy it to Ch7. "cp -r source Ch7". Ch7 was already created. 1st msg.: cannot stat `source`: No such file or dir. I typed pwd & got... (3 Replies)
Discussion started by: Ccccc
3 Replies

6. Shell Programming and Scripting

Help with re-organize data by adding "-" in empty place

Input file data_1 data_2 A B C data_1 data_2 B D data_1 data_2 A C data_1 data_2 A data_1 data_2 B C data_1 data_2 C data_1 data_2 A B data_1 data_2 data_1 data_2 C B A . . Output file data_1 data_2 A B C data_1 data_2 - B D data_1 data_2 A - C (3 Replies)
Discussion started by: perl_beginner
3 Replies

7. UNIX for Dummies Questions & Answers

using gsed with cp to sort files in directory - every N file copy to new place

Hi all, I'm having a problem with some basic piping issues... I have been able to get in a directory and ls | gsed in order to list every N file for instance: ls | gsed -n '2~5p' The thing is I want to be able to copy the output files to a new directory. Basically directory /all has a... (4 Replies)
Discussion started by: dgoss
4 Replies

8. Shell Programming and Scripting

Copy a field into n line in another place

I have a file contains 100 section (here i show 2 section of that); i want to replace date from 1st & 2nd field of 1st line of each section (1st line of each section is header and the other lines are body) and merg them into one field, then copy it on 7th field of the lines in each section... (17 Replies)
Discussion started by: oreka18
17 Replies

9. Shell Programming and Scripting

How to merge variable data from another file into specific place?

Hello, I'm trying to create multiple commands using a variable input from another file but am not getting any successful results. Basically, file1.txt contains multiple lines with single words: <file1.txt> yellow blue black white I want to create multiple echo commands with these... (8 Replies)
Discussion started by: demmel
8 Replies

10. Shell Programming and Scripting

Modifying text file records, find data in one place in the record and print it elsewhere

Hello, I have some text data that is in the form of multi-line records. Each record ends with the string $$$$ and the next record starts on the next line. RDKit 2D 15 14 0 0 0 0 0 0 0 0999 V2000 5.4596 2.1267 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 ... (5 Replies)
Discussion started by: LMHmedchem
5 Replies
BACKUP_RESTOREDB(8)					       AFS Command Reference					       BACKUP_RESTOREDB(8)

NAME
       backup_restoredb - Restores a saved copy of the Backup Database

SYNOPSIS
       backup restoredb [-portoffset <TC port offset>]
	   [-localauth] [-cell <cell name>] [-help]

       backup res [-p <TC port offset>]
	   [-l] [-c <cell name>] [-h]

DESCRIPTION
       The backup restoredb command restores to the Backup Server machine's local disk a version of the Backup Database previously written to tape
       by using the backup savedb command.

       (If the "FILE YES" instruction appears in the /var/lib/openafs/backup/CFG_device_name file associated with the specified port offset, then
       the backup restoredb command restores data from the backup data file listed for that port offset in the Tape Coordinator's
       /var/lib/openafs/backup/tapeconfig file, instead of from tape. For the sake of clarity, the following text refers to tapes only, but the
       Backup System handles backup data files in much the same way.)

       The most common reason to run this command is to replace a corrupted or otherwise damaged Backup Database; use the backup dbverify command
       to determine the database's status. The command can also be used to restore records that were removed from the database when the -archive
       argument was included on a previous backup savedb command.

       The command completely overwrites the existing Backup Database records for volume sets, Tape Coordinators, and the dump hierarchy with the
       corresponding information from the saved version. It does not overwrite existing dump records, but instead interleaves the records from the
       copy being restored. If both the existing database (on the Backup Server machine's disk) and the copy being restored include a record about
       the same dump, the Backup System retains the one in the existing database.

       The Tape Coordinator's default response to this command is to access the first tape it needs by invoking the "MOUNT" instruction in the
       local /var/lib/openafs/backup/CFG_device_name file, or by prompting the backup operator to insert the tape if there is no "MOUNT"
       instruction. However, if the "AUTOQUERY NO" instruction appears in the CFG_device_name file, or if the issuer of the butc command included
       the -noautoquery flag, the Tape Coordinator instead expects the tape to be in the device already. If it is not, or is the wrong tape, the
       Tape Coordinator invokes the "MOUNT" instruction or prompts the operator. It also invokes the "MOUNT" instruction or prompts for any
       additional tapes needed to complete the restore operation; the backup operator must arrange to provide them.

CAUTIONS
       If the database is corrupted, do not attempt to restore a saved database on top of it. Instead, use the instructions for repairing a
       corrupted database in the OpenAFS Administration Guide chapter about performing backup operations.

OPTIONS
       -portoffset <TC port offset>
	   Specifies the port offset number of the Tape Coordinator handling the tapes for this operation.

       -localauth
	   Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The backup command interpreter presents it to
	   the Backup Server, Volume Server and VL Server during mutual authentication. Do not combine this flag with the -cell argument. For more
	   details, see backup(8).

       -cell <cell name>
	   Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see backup(8).

       -help
	   Prints the online help for this command. All other valid options are ignored.

EXAMPLES
       The following example shows the Backup Database being restored from the Tape Coordinator with port offset 0:

	  % backup restoredb

PRIVILEGE REQUIRED
       The issuer must be listed in the /etc/openafs/server/UserList file on every machine where the Backup Server is running, or must be logged
       onto a server machine as the local superuser "root" if the -localauth flag is included.

SEE ALSO
       butc(5), backup(8), backup_dbverify(8), backup_savedb(8), butc(8)

       The OpenAFS Administration Guide at <http://docs.openafs.org/AdminGuide/>.

COPYRIGHT
       IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.

       This documentation is covered by the IBM Public License Version 1.0.  It was converted from HTML to POD by software written by Chas
       Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.

OpenAFS 							    2012-03-26						       BACKUP_RESTOREDB(8)
All times are GMT -4. The time now is 11:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy