Displaying 20 results from an estimated 6000 matches similar to: "rsync alternative -- smbclient?"
2019 Jul 13
0
rsync alternative -- smbclient?
I, too have been looking into alternatives to the rsync-based sysvol
replication workaround, and really liked the idea of using the
existing Sysvol SMB share, rather than a secondary protocol (with its
own authentication, etc).
When I realized that Andrew Bartlett was a primary developer of both
Samba and Rsync, I was even more surprised that Rsync doesn't support
an smb:// URL.
csync [1] is
2019 Jul 16
4
Syncing Sysvol
Hi, in this thread:
https://lists.samba.org/archive/samba/2019-July/224365.html
Joachim Lindenberg reminded me that he was using smbclient to sync Sysvol.
He posted (in the link above) a link to his original post:
https://lists.samba.org/archive/samba/2019-July/224346.html
Here he posted a copy of his script. I personally would never have
thought about using smbclient, but it just goes to
2020 Nov 05
1
CTDB DBDIR Options? Errors
Hi Bob,
[CC: Amitay, who is better at SeLinux]
On Wed, 4 Nov 2020 09:33:10 -0500, Robert Buck via samba
<samba at lists.samba.org> wrote:
> This turns out to be an SELinux issue. Does anyone know the proper commands
> to restorecon or otherwise to set the SELinux policy for
> persistent/volatile database files moved to a different directory?
I'm not sure if you're asking
2002 May 23
0
protocol errors when using --dryrun
Hi there,
I've had a look on the web, and in the archives, but I dont see any mention
to this problem/feature. Essentially, I have a local mirror, and a live
webserver, with a little script that will execute a --dryrun rsync, ask the
user for confirmation, then go ahead and transfer the local updates to the
live server.
The problem Im having is when Im sync'ing newly generated
2019 Jul 16
0
Syncing Sysvol
Rowland,
You could go another step further and run that with "notify" to
monitor for changes, instead of having to run it in a cron job. In my
experience, "notify" works using smbclient, but not so with
libsmbclient.
Another nice benefit of using smbclient + 'samba-tool ntacl
sysvolreset' over rsync is that you don't need worry about the
built-in user/group ID
2007 Oct 26
6
script help
Hi
I am sure the answer here is really easy but i am stuck!
# mount | grep data | awk '{print$1,$2,$3}'
gives me the info i require locally, however i need to execute this over
about 1000 hosts so i run things remotely using ssh something like
# MOUNTER=`ssh $i 'mount | grep data | awk '{print$1,$2,$3}''`
however this fails as at the end of the line there are 2 ticks
2010 Jul 09
8
DO NOT REPLY [Bug 7565] New: --check-point=<TIME> +options.c.patch +generator.c.patch
https://bugzilla.samba.org/show_bug.cgi?id=7565
Summary: --check-point=<TIME> +options.c.patch
+generator.c.patch
Product: rsync
Version: 3.0.7
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned at samba.org
2008 Jul 23
3
[patch] mount add move option
On Wed, Jul 23, 2008 at 11:24:49AM +0200, Karel Zak wrote:
> On Wed, Jul 23, 2008 at 04:43:30AM -0400, Christoph Hellwig wrote:
> > On Wed, Jul 23, 2008 at 10:39:38AM +0200, maximilian attems wrote:
> > > klibc mount has only short options thus uses the following syntax
>
> Frankly, it seems like a klibc problem...
well not directly, but right klibc-utils should have
2013 Mar 05
2
Need to unmount an LV from host system
Greetings -
Ok, I made a mistake that I need to fix. Fortunately it is not a
destructive mistake, but I need some advice on how to correct the problem.
CentOS 6.3 host system named Earth
I was creating some new logical volumes within my exiting volume group for
a new virtual machine using the LVM GUI. When I created the LV that I
plan to use for root partition of the new VM (Bacteria) I
2002 Oct 01
3
how often to 'fsck -D' ?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
subject about says it all. should this only be done once per device or
periodically? thanks!
- --
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
Admin: Linux StepByStep - http://www.linux-sxs.org
and http://jobs.linux-sxs.org
Illiterate? Write for help!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
2020 Nov 04
2
CTDB DBDIR Options? Errors
Running into problems configuring different locations for the volatile and
other database directories. Can someone provide a quick sanity check on
what I'm doing below? Thank you.
Given
[database]
volatile database directory = /var/cache/dbdir/volatile
persistent database directory = /var/cache/dbdir/persistent
state database directory = /var/cache/dbdir/state
And given,
[root
2009 Jul 13
1
are new directories created inside the partial dir?
When --partial-dir is used rsync creates new or updated files inside a
temporary dir. For example the new version of some/path/file is
created in some/path/<partial-dir-name>/file and later moved.
What happens if a new directory is created? If
some/path/newdir/newfile is to be copied, is it done in
some/path/<partial-dir-name>/newdir/<partial-dir-name>/newfile? Or is
newdir
2006 Jan 10
13
DO NOT REPLY [Bug 3392] New: fuzzy misbehaving if source is a file
https://bugzilla.samba.org/show_bug.cgi?id=3392
Summary: fuzzy misbehaving if source is a file
Product: rsync
Version: 2.6.6
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: egmont@uhulinux.hu
2012 Jul 27
1
Rsync like Time Machine
I've been very interested in these discussions and uses of rsync as a
"clone" of Time Machine. A couple of things have been keeping me from a
fully automated solution. I'd like to eliminate the need for Samba/NFS
mounts of any kind, because they have proven to be unreliable for me and
under some operating environments (Cygwin) it breaks --link-dest. In most
of the articles
2004 Jul 16
1
(PR#7100) and #7102: list.files fails with all.files = TRUE
rpeng@jhsph.edu wrote:
> I get different behavior on Linux:
>
> system("mkdir newdir")
> dir("newdir", all.files = TRUE, recursive = TRUE) ## R hangs
The point is that all.files=TRUE implies returning also "." and ".."!
Hence the recursion uses to be infinite (from "." to "." to "." ......).
If recursiv = TRUE,
2013 Apr 14
3
Sysvol replication
Hi all,
Has anyone actually got sysvol replication working between 2 (or more)
Samba4 DCs? I've tried gluster, inosync, csync and rsync and keep getting
stuck on issues with the extended attributes.
Is there a roadmap or any clues of a date when MSFRS or DFS replication
will be part of Samb4?
thanks again,
Jim
2012 Feb 26
2
Help needed! Error in setwd(newdir) : cannot change working directory
Hi Guys,
I am new to R and just trying to write a small script to automate a couple commands. But I run into the setwd(): cannot change working directory.
I googled a little bit and tried all fixes/suggestions with no success.
Basically I have a script that works from inside a directory with my data (/home/sean/Rtest/Data01). Now I want to modify the script to make it run from the upper directory
2013 Aug 30
1
Problem with texi2pdf(..,clean=TRUE)
Dear all,
To create a *.pdf file from a *.Rnw file I do:
olddir <- getwd();
setwd(outdir);
tryCatch({Sweave("QAReport.Rnw");
tools::texi2pdf("QAReport.tex", clean=TRUE)
},
finally = setwd(olddir)
);
This works fine, however 'clean=TRUE' does only work when:
outdir <-
2005 Apr 10
1
PATCH: cosmetic fix to output with --existing -vv
Currently, rsync --delete -avvn test1/ test2/ --existing
will give output such as:
not creating new file "newdir"
not creating new file "newdir/newfile"
not creating new file "newdir/subdir"
It would make more sense if it said:
not creating new directory "newdir"
not creating new file "newdir/newfile"
not creating new directory
2010 Jun 11
1
removing a non empty directory
I'd like to remove automatically a directory that may be non empty.
I tried:
> file.remove(NewDir, recursive=TRUE)
[1] FALSE
Warning message:
In file.remove(NewDir, recursive = TRUE) :
cannot remove file 'Prostate_Validated_mirWalk', reason 'Directory not empty'
Is there another command to remove entire directories including their contents ?
Thank you.
Maura
tutti i