Displaying 20 results from an estimated 1000 matches similar to: "Rsync ssh script execution fails under cron?"
2019 Dec 25
1
mounting ext usb drive
Hi, trying to mount on demand, external USB drive which is /bkup.
/etc/fstab has it as:
?UUID=4C76D06176D04CF8 /bkup?????? ntfs-3g?? noauto,user,rw??? 0?????? 0
The following does open a share but its not really /bkup and its not
writeable. Corrections are welcome.
Thanks.
[backup_drive]
??????? preexec = /bin/mount /bkup
??????? comment = Backup Drive
??????? path = /bkup
??????? writable = yes
2001 Dec 30
1
"hosts allow" secure?
How secure is "hosts allow"?
I have "hosts allow = bkup" in my rsyncd.conf. Then in /etc/hosts I have:
64.29.16.235 bkup
This makes only 64.29.16.235 able to connect to rsync.
Could someone spoof their hostname somehow to trick rsync into letting
them in, though? e.g. If they reverse DNS says that they're called "bkup".
2007 Nov 14
2
rsync problem
I have a simple script that sends one file to two locations on the
same destination server. Here's the code:
DEST="remotehost"
SRC="/home/boss/application.conf"
DST1="/home/user1/application.conf"
DST2="/home/user2/application.conf"
RSYNC1=`rsync -caW -e ssh $SRC $DEST:$DST1`
RSYNC2=`rsync -caW -e ssh $SRC $DEST:$DST2`
This runs every 5 minutes. What
2007 May 21
1
Vicidial
Hi I'm looking for some help with Vicidial, If you have experience with
it and could help with some consulting please contact me off list.
Cheers,
Joel Hill
Asterisk IT
jhill@asteriskit.com.au
2002 Jun 06
8
problem joining the domain
We've encountered a problem with getting a newly installed Samba based
machine to join the domain.
Here's the command line and error response:
[root@chain samba]# smbpasswd -j COLUMBIA -r cmc-bkup -U murphyn
Password:
error creating domain user: NT_STATUS_INVALID_DOMAIN_ROLE
Unable to join domain COLUMBIA.
[root@chain samba]#
Installation is a RedHat 7.2 (from KRUD) box
2003 Dec 01
3
rsync'd destination much larger than source
Hello.
Recently, I started using rsync to backup files in my root partition on an
Ensim
box over to a remote machine. The remote machine 'pulls' from the Ensim box
using the following:
rsync -arvzx --exclude=/proc --exclude=/tmp --exclude=/mnt --delete
--delete-excluded -e ssh 192.168.0.1:/ /bkup/rootpart/
The problem is, if I 'df' the Ensim box, it reports that the entire
2007 Jan 02
5
--link-dest
Has anyone else had problems using the --link-dest flag? I do what it says in the example
rsync -a --delete --link-dest=/home/chamberl/oldbk/ /home/chamberl/source/ /home/chamberl/backup/
I make sure that /home/chamberl/source has some files exactly the same as in /home/chamberl/oldbk/
but evertything gets copiued, and no hard links are done (though they should be).
Anyone know the problem?
2018 May 11
4
vfs_full_audit and facility 'auth'...
On Fri, 11 May 2018 09:14:24 +0200
Marco Gaiarin via samba <samba at lists.samba.org> wrote:
> Mandi! Rowland Penny via samba
> In chel di` si favelave...
>
> > You would replace 'FACILITY' with one of the facilities shown in
> > 'man syslog' e.g. full_audit:facility = LOG_AUTH
>
> OK, done. But samba (as stated in previous email) still reply:
2004 Oct 05
6
group change causing failure
OK, I searched through the archives and didn't find anything so I must be
doing something stupid.
I just compiled 2.6.3 and am trying to get it to run on linux 2.6.8.1 kernel
with a more or less fedora core2 environment. I was trying between two
systems but I have narrowed it down to what I believe is a pretty simple
case. Here is my setup/test:
Last login: Mon Oct 4 19:30:49 2004
2018 Jan 28
2
[virtio-dev] Re: [RFC PATCH net-next v2 2/2] virtio_net: Extend virtio to use VF datapath when available
On 1/28/2018 9:35 AM, Alexander Duyck wrote:
> On Fri, Jan 26, 2018 at 9:58 PM, Jakub Kicinski <kubakici at wp.pl> wrote:
>> On Fri, 26 Jan 2018 21:33:01 -0800, Samudrala, Sridhar wrote:
>>>>> 3 netdev model breaks this configuration starting with the creation
>>>>> and naming of the 2 devices to udev needing to be aware of master and
2002 Apr 16
3
how to take least risk on rsync dir
Hello list,
When rsync dir_A to dir_B, I hope I wont make any change to the original
dir_B unless the rsync procedure end withour errors, therefore, I hope
there's somethig like
rsync -av dir_A dir_B_tmp && \
mv dir_B dir_B.bkup &&
mv dir_B_tmp dir_B
This small script can ensure the minimal change time between 2 versions
of archive. Is this built in the native rsync
2017 Jan 02
2
cron job failures with a perl script containing Astro::Time
Everyone,
I am building a gateway server with a new : CentOS Linux release
7.3.1611 (Core)??with 3.10.0-514.2.2.el7.x86_64 kernel.
Everything was going find, but I was not able to get a particular
cronjob to function properly that contained a perl script with
Astro::Time as an include file. Astro::Time was installed with the use
of the cpan module downloaded from the Centos repositories.
The
2003 Oct 13
1
Rsync deletes too much?
Hello. I'm having a problem using rsync to copy my root partition to a
new disk. This disk has a previous copy on it, and rsync seems determined
to (unnecessarily) delete files from it. Worse, despite the fact that the
files DO exist on the source, it does not update the destination, leaving
me with less than I had before?!
Here's my usage:
] server# /usr/local/bin/rsync -naxv --delete
2018 Jan 27
2
[virtio-dev] Re: [RFC PATCH net-next v2 2/2] virtio_net: Extend virtio to use VF datapath when available
On Fri, 26 Jan 2018 21:33:01 -0800, Samudrala, Sridhar wrote:
> >> 3 netdev model breaks this configuration starting with the creation
> >> and naming of the 2 devices to udev needing to be aware of master and
> >> slave virtio-net devices.
> > I don't understand this comment. There is one virtio-net device and
> > one "virtio-bond" netdev.
2018 Jan 28
1
[virtio-dev] Re: [RFC PATCH net-next v2 2/2] virtio_net: Extend virtio to use VF datapath when available
On 1/28/2018 12:18 PM, Alexander Duyck wrote:
> On Sun, Jan 28, 2018 at 11:18 AM, Samudrala, Sridhar
> <sridhar.samudrala at intel.com> wrote:
>> On 1/28/2018 9:35 AM, Alexander Duyck wrote:
>>> On Fri, Jan 26, 2018 at 9:58 PM, Jakub Kicinski <kubakici at wp.pl> wrote:
>>>> On Fri, 26 Jan 2018 21:33:01 -0800, Samudrala, Sridhar wrote:
2005 Feb 04
9
callback on busy
Hello everybody,
I would like to implement "callback" function.
When I call a person and his extension is busy I can press, for example, 5
and get a callback when his phone is not busy anymore.
When I create a call file and copy it to spool call folder
asterisk makes a call. One problem is that when extension is still busy
my phone rings and I get busy tone of the person who I am
2008 Nov 26
8
disk space issues...any help is greatly appreciated
Hi all,
Please pardon my newbie-ness on this issue....I've a / partition which
is full (quite suddenly, actually) and I'm not sure how to fix this.
I've searched for uneeded logs, etc in /var/log and /tmp to no avail.
The system is CentOS 5.2 and is not connected to the internet, serves as
a local LAN server running stock stuff...sendmail, dovecot,
apache..nothing strange or
2007 Dec 19
1
multiple rsyncd daemons: init script
Hi all,
I want to run 2 rsync daemons on my system. Each has its own
configuration file, and they are listening on a specific port.
These 2 daemons are running perfectly but getting them started by 2 init
scripts is a bit more difficult.
The problem is that when stopping rsync you check the pid of rsync,
which results in both pids of the daemons.
Off course i want the script to be very
2004 Sep 28
1
infinite loop in rsync daemon on Mac OSX
Hello,
I've got rsync --daemon running on an OSX machine, and I have it exporting
the entire hard disk as [rootpath]. On my Linux machine, I run this:
rsync -avvv --delete --exclude /Volumes macbox::rootpath /mnt/bkup/macbox
I redirect the output from that command to a file (nohup.out), and then tail
the file, and I see that it never gets beyond the recv_file_name() stage.
In about 4
2002 Jan 28
1
Write failed flushing stdout buffer.
3 100% 0.00kB/s 0:00:00
wrote 30496 bytes read 327051 bytes 14593.76 bytes/sec
total size is 419896352 speedup is 1174.38
Write failed flushing stdout buffer.
write stdout: Broken pipe
time /usr/local/bin/rsync -avzP host: /bkup-zone --delete
this is the command which is being run, and I get the above error message
everytime. The phenomenon doesn't happen when just copying certain