Displaying 20 results from an estimated 5000 matches similar to: "restoring using rysnc"
2010 Jul 30
2
rsync mirror solution: how to prevent accidental mirror deletion
I had a recent disaster scenario with rsync. I was wondering if there
were any suggestions to guard against in the future:
I used to maintain "mirror" backups of the /home dir on our
production_server using rsync to a backup_server.
The primary server had a rsyncd daemon running and the backup_server
had this line in the crontab:
10 01 * * * rsync -av --delete root at
2015 Jun 09
3
exclude directory from rsync
hey guys,
I'm trying to do an rsync of the entire /var directory, but exclude just
the /var/www directory.
So far I've tried these approaches:
rsync -avzp --exclude-from=/var/www /var/ /mnt/var/
rsync -avzp --exclude=/var/www /var/ /mnt/var/
But neither has worked. Can I get a suggestion on how to get this to happen?
Thanks,
Tim
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net
2016 Dec 19
2
Samba4 and file permissions
Hello
I configured a samba 4.3.1 service on a Centos 6.5 32 bit system and installed it in the /home/samba/samba-4.3.1 directory (I know this is not a good place but it was the only partition with enough free space).
The samba is running as an Active Directory Domain Controller with rfc2307 enabled and embedded DNS server.
This is my smb.conf
# Global parameters
[global]
workgroup =
2014 Dec 30
2
Odd Samba/btrfs AD member server problem
openSUSE 13.2 machine with btrfs for /
Running samba-4.1.14-3.3.x86_64.
Samba is configured to have the server act as a member server in a
Windows Activedirectory domain.
wbinfo -u and getent passwd work fine. getent passwd shows local and
domain users.
However, setfacl -n -R -m u:userX:rwx /testpath fails if userX is a
domain user, but succeeds if userX is a local user. Using different
2014 Dec 30
1
Odd Samba/btrfs AD member server problem - SOLVED
On 12/29/2014 11:09 PM, Moby wrote:
>
> On 12/29/2014 07:34 PM, Moby wrote:
>> openSUSE 13.2 machine with btrfs for /
>> Running samba-4.1.14-3.3.x86_64.
>> Samba is configured to have the server act as a member server in a
>> Windows Activedirectory domain.
>> wbinfo -u and getent passwd work fine. getent passwd shows local and
>> domain users.
2012 Jan 31
1
Renaming user account / mailbox
Hello,
I am running dovecot-2.0.13-1_128.el5 x86_64 RPM on CentOS 5.7.
All accounts are virtual, hosted on LDAP Server. We are using Maildir
mailboxes.
The question: What is the process to rename an existing account/mailbox?
I would like to rename userx with email: userx at example.com to
ux at example.com with a mailbox of ux (currently: userx)
Of course the idea is that new mail will
2008 Jul 25
2
Recieving e-mail is not updating quota
Hello again.
When I send e-mail locally from userX at mydomain to userY at mydomain the
quota in userY at mydomain isn't updated with the new message, but the
message arrives fine. It's not a userX problem, because it's equal if
it's userY sending userX.
When I save an message, the quota is updated. Or when the userX sends
the e-mail, his quota is updated too. The problem is that
2023 Feb 20
1
Restored mail folders conflict with renamed original ones
Hello,
We are running Dovecot 2.3.18 (together with Postfix) on CentOS 7. It
uses a Maildir structure.
We have a user who has organized his mailbox as shows up at the end of
this mail. The user had forgotten that he had renamed his "Grants Active
\ European" (.Grants Active.European) folder to "Grants Active \
International" (.Grants Active.International), he thought that
2020 Oct 20
2
SAMBA 4 "username" parameter
I'm sorry, but since I'm a SAMBA / Linux developer, I don't know how to
answer your questions.
What I can say is that before SAMBA (stand alone) was used in version
3.6.6, where the "username" option was used in the sharing settings.
For example:
SMB.CONF
[folder]
path = ...
username = userX
Thus, the following line was passed in a DOS script:
net use x:
2019 Dec 08
2
[whishlist] new option for 'doveadm purge'
Hi,
I do store mail in mdbox format of 150m in size (dovecot 2.3.9).
Once in a while I do experience mdbox files of smaller size, even after applying 'doveadm purge' and previous expunges by the users. like:
-rw------- 1 vmail dovecot 104854595 Feb 9 2019 /var/mail/.maildirs/userX/storage/m.22
-rw------- 1 vmail dovecot 29088478 Mar 8 2019
2006 Jun 23
2
Getting a list of users in a group - how?
Hi all,
Hopefully this is a simple one - I'm trying to work out how to get a
list of users in a certain group. If I have the following set up in
Active Directory:
Group1
- UserA
- UserB
Group2
- UserC
- UserD
AllGroups
- Group1
- Group2
- UserX
Then I want to be able to say "List all users in the AllGroups group"
and I should get UserA,B,C,D and UserX
2013 Dec 03
2
Samba4 Winbind on DC Authentication problem
So, I've finally gotten around to installing a Samba4 AD DC. I've
joined a Win7 and Ubuntu machine to the domain so far, and all works
perfectly. Great job guys, it's nice to see this functionality working
solidly on Samba!
The problem is coming in on the actual DC host. My Ubuntu laptop is
running winbindd 3.6.18, and as I said, all went flawlessly. The DC
host is running
2003 Feb 24
1
many small files bug
Hi!
I try to copy a lot of little files between a Linux and a Tru64 (I
successfully compiled rsync on a tru64, it needed a little cosmetics), but
it throws me this error (rsync 2.5.5 on both machines):
779300 files...rsync: error writing 4092 unbuffered bytes - exiting:
Broken pipe
rsync error: error in rsync protocol data stream (code 12) at io.c(463)
The command line was:
rsync -avzP -e ssh
2023 Feb 22
1
Restored mail folders conflict with renamed original ones
On 22/2/2023 2:30 ?.?., Aki Tuomi wrote:
> Can you please try
>
> doveadm exec imap -u username_of_the_user
> 1 LIST "" "*"
>
> and see if it is there?
Here is the output:
# doveadm exec imap -u userx
* PREAUTH [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE
SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT
MULTIAPPEND
2009 Jun 22
2
Creating ZFS filesystem with inherited ACLs ?
Hi @all,
with ZFS its recommended to create a new filesystem, for example for each user to give them a home directory.
So far, so good. The homes should be under tank/export/home/staff and my intention is to restrict the ACL rights so only the user self can access his own home directory.
I study the ZFS Admin Guide and found the aclmode and aclinherit options, IMHO for my intention the
2007 Aug 15
1
Mail Restrictions with sendmail
Hi all,
I am running sendmail with MailScanner on CentOS. I want to enable some
restrictions.
Restrictions are given below.
All clients Currently can send Bcc from their workstations as usual. I want
to disable (block Bcc) that feature. Can I do it from the Sendmail Server ?
All clients currently can send Cc form their workstations as usual. I want
to limit it. Let's say about 5 Cc s .
2011 Dec 15
3
doveadm quota does not list all accounts
Hello,
I am running dovecot-2.0.13-1_128.el5 x86_64 RPM on CentOS 5.7.
All accounts are virtual, hosted on LDAP Server.
My problem is that the command:
doveadm quota get -A
stopped listing all accounts. I think this problem started after I
changed in LDAP lookup configuration from "scope = subtree" to "scope =
onelevel", because it did not occur before (I did no
2011 May 13
5
ssh_authorized_key loops when options is defined
Hi all,
I have no problem with creating ssh keys for users, but as soon as I
specify ''options'', puppet keeps repeating and replacing the key with
an identical key.
I have written the various options in various formats, like one big
strings, as an array, with double quotes or single quotes, etc, etc
(see examples below), but the issue stays
as a string ...
@authorizedkey {
2020 Jul 15
3
Deprecation of scp protocol and improving sftp client
On Wed, 15 Jul 2020, Red Cricket wrote:
> I have had this in my .bashrc for years:
>
> alias scp='rsync -avzP'
Similar, though I named it rcp because nobody has the real rcp installed
any more, but sometimes I need scp to connect to systems that lack rsync.
https://evolvis.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=shellsnippets/shellsnippets.git;a=blob;f=mksh/rcp;hb=HEAD
>
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