- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FTP Script for Backups in Bourne Shell - Scrip...
Operating System - HP-UX
1748205
Members
4900
Online
108759
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 07:35 AM
05-15-2001 07:35 AM
Re: FTP Script for Backups in Bourne Shell - Script
Hi Laurie:
The question of the /etc/hosts.equiv and $HOME/.rhosts files has already been answered above, so:
Your crontab should look something like:
00 04 * * * the_script
By default, if you do not redirect stdout and stderr, any generated standard output or standard error will be mailed to the user.
Be sure, too, to include any environmental variables you need in your script before "cron"ing it.
...JRF...
The question of the /etc/hosts.equiv and $HOME/.rhosts files has already been answered above, so:
Your crontab should look something like:
00 04 * * * the_script
By default, if you do not redirect stdout and stderr, any generated standard output or standard error will be mailed to the user.
Be sure, too, to include any environmental variables you need in your script before "cron"ing it.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 10:09 AM
05-15-2001 10:09 AM
Re: FTP Script for Backups in Bourne Shell - Script
Hi All,
I can get the command to work only for one
file. When I try to run this for all the
files with a wildcard I get this error for
each file:
usage: rcp [-p] [ -S size ] [ -R size ] f1 f2; or: rcp [-rp] [ -S size ] [ -R sy
./sybase_backup[10]: /db01/syb115/backup/DBSpscbbk1.gz: Execute permission denied
Also when I run the rcp -p command for one
file from the shell, it does NOT keep the
same file permissions and owner and group.
It does this:
rw------- 1 root sys 12242402 May 14 21:41 laurie
When it should leave the permissions to the
orginial file:
-rw------- 1 syb115 syb115 460911 May 14 21:00 masterbk1.gz
Anyway clues what I am doing wrong?
Laurie
I can get the command to work only for one
file. When I try to run this for all the
files with a wildcard I get this error for
each file:
usage: rcp [-p] [ -S size ] [ -R size ] f1 f2; or: rcp [-rp] [ -S size ] [ -R sy
./sybase_backup[10]: /db01/syb115/backup/DBSpscbbk1.gz: Execute permission denied
Also when I run the rcp -p command for one
file from the shell, it does NOT keep the
same file permissions and owner and group.
It does this:
rw------- 1 root sys 12242402 May 14 21:41 laurie
When it should leave the permissions to the
orginial file:
-rw------- 1 syb115 syb115 460911 May 14 21:00 masterbk1.gz
Anyway clues what I am doing wrong?
Laurie
Happiness is a choice
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP