Save flarcreate on another server through ssh


 
Thread Tools Search this Thread
Operating Systems Solaris Save flarcreate on another server through ssh
# 1  
Old 09-29-2011
Save flarcreate on another server through ssh

hi,

i would like to know if it is posible to create the flash archive and in the same line add another command to save it in another server through SCP.

flarcreate -n "sv756flash" -c -X excludefilelist |...

i appreciate your help.

thanks a lot.

Last edited by pabloli150; 09-29-2011 at 06:50 AM..
# 2  
Old 09-29-2011
hi, i'm not sure if this works but give a try:
Code:
flarcreate -a <author> -n <name> -S - | ssh root@<ip-address> "cd /save/path; cat - > test.flar"

# 3  
Old 09-29-2011
ssh is secure shell, to move *.flar archive you must use scp to upload archive on other server on the network.
# 4  
Old 09-29-2011
I think beta17 command seems to be syntactically correct ( you need to check the man page for flarcreate ) but I'm not sure if it's working or not never been in such situation to give an accurate answer .

solaris_user suggested another alternative using Secure Copy SCP

But I recommend NFS over SSH one good reason for this is that NFS is faster than SSH otherwise you can tunnel NFS over SSH also bare in mind that SCP has a limitation in file sizes.
You might look here

Last edited by h@foorsa.biz; 09-29-2011 at 03:26 PM..
# 5  
Old 09-29-2011
Quote:
Originally Posted by solaris_user
ssh is secure shell, to move *.flar archive you must use scp to upload archive on other server on the network.
this is not correct, you can use directly ssh to copy a file remotely too.

you can use ssh in combination with tar to make backups:
Code:
# tar zcvf - /dir/to/backup | ssh root@remote.server.com "cat > /backup/blabla.tar.gz"

try it and you will see! ;-)
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to save data and run the server again / Ubuntu16.04?

Hello, I am running ubuntu 16.04 and I have rented a server three days ago. I am with OVH and during image installation I did not merge hdd partitions, just proceed with custom installation configuration. Today I rebooted and server went offline. Company says: "Connect in rescue mode and check... (4 Replies)
Discussion started by: baris35
4 Replies

2. Red Hat

Logs & Lists to Save before httpd restart when web server freezes?

Hello... We keep having a problem with the httpd freezing and users getting time outs. I am not the Sys Admin but since I am the 1st one in, I have to restart the httpd server. Is there a list of items I should collect before I restart in order to help with trouble shooting? I currently... (3 Replies)
Discussion started by: djlerman
3 Replies

3. Shell Programming and Scripting

Connect (SSH) to Windows server via Linux server through a script and passing command.. but failing

I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd" i am trying in this manner " ssh username@servername "cd... (5 Replies)
Discussion started by: sunil seelam
5 Replies

4. UNIX for Advanced & Expert Users

Scan all mail messages through the server and save a copy into file system following a rule

In our company we work for our customer with a job# philosophy, managing all the informations about a job in a share with directories whose name is starting with job number. Under this entry point we have a standard structure of folders, comprising a "communications" folder. When we send emails... (0 Replies)
Discussion started by: vroby67
0 Replies

5. Linux

How to save crontab configuration when using SSH?

Hi, I'm trying to save a crontab configuration using SSH, acessing a Linux machine from a Windows desktop. So, in the prompt I type "crontab -e", to edit crontab, and a window is opened. But after writing the changes, I press Save button but it seems not working, because when... (1 Reply)
Discussion started by: Roger75
1 Replies

6. Shell Programming and Scripting

Using ssh to add register key on ssh server

Hi, I want to use ssh to add a register key on remote ssh server. Since there are space characters in my register key string, it always failed. If there is no space characters in the string, it worked fine. The following is what I have tried. It seems that "ssh" command doesn't care about double... (9 Replies)
Discussion started by: leaftree
9 Replies

7. Solaris

flarcreate help.

Hi, I have to clone a system and i would like to use flarcreate. My question is regarding excluding some NFS mounts and some directories under /. If somebody have done this earlier please advice on the following procedure. Create a file like /exclude_list and put the following lines in it ... (1 Reply)
Discussion started by: uxadmin007
1 Replies

8. Solaris

flarcreate

found my notes got it flarcreate -n jumpstart -x /jumpstart/flash /jumpstart/flash/jumpstart.flar i think this will omit that directory and save it there correct? (3 Replies)
Discussion started by: deaconf19
3 Replies

9. Cybersecurity

What's the difference between an SSH Client and an SSH Server?

Eh... yeah. What the title says. :D (1 Reply)
Discussion started by: PSC
1 Replies
Login or Register to Ask a Question