Re: [BackupPC-users] Help with the schedule config
On 05/25/17 10:02, Alexey Safonov wrote: > that's nice > > is there any list of all commands available in BPC ? I tried to find some reference, but found only this old post in this mailing list, which I probably used when I was solving the same problem: https://sourceforge.net/p/backuppc/mailman/message/12063875/ If you find something more detailed, please post it here. -- Best Regard Vladislav Kurz -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Help with the schedule config
On 05/24/17 14:41, Yong Zhang wrote: > Hi, all > > > > I'm new to BackupPC, I installed v4.0 these days, but hard to understand > schedule settings, I have some queries here: > > > > 1) I want servers to be backed up daily, but full backup only runs on > Saturday, how? Hello, I use this line in crontab to enforce full backup on weekends: 55 19 * * 5 backuppc /usr/share/backuppc/bin/BackupPC_serverMesg backup HOSTIP HOST USER 1 I usually put the time to run at 5 minutes before the end of blackout period to ensure that it will start earlier than normal backup run. Also I put FQDN for both HOST and HOSTIP. Number 1 at the end means full backup (0 would be incremental). -- Best Regards Vladislav Kurz -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backing up Windows 7 Pro, not enough permissions
Hi, I'm maybe late to the discussion, but to the topic of premissions. Always set the user account performing backup (whether using smbclient or cwrsync) to be member of "Backup Operators". It helps a lot. -- Best Regards Vladislav Kurz -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Help with backups of Windows clients
On 05/22/17 17:18, Juan Manuel Perrote wrote: > > > > Hello, I have problems with Windows clients, via smbclient. Hello. Long ago I have given up on smbclient and use cwRsync to backup windows -- Best Regards Vladislav Kurz -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] How to backup a laptop over internet
On 05/22/17 19:44, Xuo wrote: > Hi, > I am using BackupPC on my laptop when it is connected to my local > network at home. > But, when I'm not at home (durin the work week), I don't know how to do. > I'm not in some hotels, ... but in another flat (that I rent), where I > have a static IP and where I could open some ports if necessary (ssh, ...). > I think I could define my laptop ip (on my BackupPC server > configuration) using my remote ip adress, but this wouldn't work when I > come back home. > > What should I do to perform these backups from my server (located at > home) to my laptop located either on my local network or remotely (on > internet). Hi Xuo, you could connect home using VPN. If configured properly, you may even get the same internal IP as when you are at home. Or, you could set up some internal DNS at home, that will return two A records for your computer - both home and work IP addresses. Backuppc (Or any other software) will then try both of them to connect. -- Best Regards Vladislav Kurz -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Sending output of DumpPreUserCmd by email
On 05/18/17 17:30, Richard Shaw wrote: > On Thu, May 18, 2017 at 9:49 AM, Vladislav Kurz > mailto:vladislav.k...@webstep.net>> wrote: > > Hello all, > > First of all big thanks to all developers of BackupPC, it is really a > very nice and useful backup tool. > > I use DumpPreUserCmd (and similar options) to run mysqldump, or make > snapshots of filesystems before backup. I would like to have the output > of these mailed to me instead of being just logged. > > > Probably not the direction you were thinking but why not create a > systemd service file for DumpPreUserCmd to start? > > I'm assuming you're using a system which uses systemd... Hello, I have many systems, and most of them are older then systemd (so using classic init). And on those that do, I'm sometimes pulling my hair out because of systemd. But I do not want to rant about systemd here. I know I have to learn new things all my life. > If you prepend the command in the service file with a hyphen the unit > will exit cleanly even if the command failed... > > ExecStart=-/command/to/run This is not exactly what I want. I can ignore the failure by setting backuppc: UserCmdCheckStatus=0 What I want is to get any output of the script by mail. Whether it fails or not. I thought it would be more elegant if this could be done by backuppc itself than adding something like "2>&1 | mail root" to all predump scripts. -- S pozdravem Vladislav Kurz Centrála: Celní 17/5, 63900 Brno, CZ Web: http://www.webstep.net E-Mail: podp...@webstep.net Tel: 840 840 700, +420 548 214 711 Obchodní podmínky: https://zkrat.to/op -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Sending output of DumpPreUserCmd by email
Hello all, First of all big thanks to all developers of BackupPC, it is really a very nice and useful backup tool. I use DumpPreUserCmd (and similar options) to run mysqldump, or make snapshots of filesystems before backup. I would like to have the output of these mailed to me instead of being just logged. I know that there is UserCmdCheckStatus, but that only makes the whole backup fail, which is not always what I want. If mysql dump fails, I want the backup to run anyway, and backup at least the rest of the filesystem, but I want to be notified that something went wrong. I think of the same behavior as with cron: send mail if there is any output (stdout or stderr), or if the command fails (exit code != 0). Is that possible now? If not could this be impemented in future versions? -- Best Regards Vladislav Kurz -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/