Since the command is not in your path, you need to enter the directory
as part of the command.  If you are in the directory that contains the
command, simply type:

./command_name

If you are not in the directory, type:

/path/to/command/command_name

By the way, you should stop the backuppc service before running
BackupPC_nightly.

-Rob

[EMAIL PROTECTED] wrote:
> Ok, thanks a lot for your details.
> I found the directory where is located all binaries on my server.
> I saw the command BackupPC_serverMesg".
> The command "more BackupPC_nightly" run correctly and I see all details
> But, when I try to execute the command "BackupPC_nightly 0 255" or 
> "BackupPC_serverMesg [mesg]" it doesn't work.
> => command not found
> 
> Can you explain me that ?
> 
> Thanks a lot.
> 
> Have a nice day.
> 
> Regards,
> 
> Romain
> 
> 
> 
> 
> 
> Stephen Joyce <[EMAIL PROTECTED]> 
> 05/11/2007 15:01
> 
> A
> Romain PICHARD/Mondeville/VIC/[EMAIL PROTECTED]
> cc
> [email protected]
> Objet
> Re: [BackupPC-users] How to delete manually a Backup with BackupPCNightly
> 
> 
> 
> 
> 
> 
> On Mon, 5 Nov 2007, [EMAIL PROTECTED] wrote:
> 
>> Hello,
>>
>> Fisrt, when you say "BackupPC_serverMesg" it's $Conf{ServerMesgSecret}?
> 
> No. Those are completely separate concepts (see below).
> 
>> My configuration of config.pl :
>>
>> $Conf{MaxBackupPCNightlyJobs} = 4
>> $Conf{BackupPCNightlyPeriod} = 1
>>
>> Normally, with this configuration, each night (at 01:00 am) all files 
> and
>> links wich are uneeded are deleted, aren't they ?
>> Is it true ?
> 
> Yes. That is my understanding. In this example 4 of the nightly processes 
> will run in parallel and the entire pool will be processed each night.
> 
>> I didn't understand when you said "BackupPC_nightly 0 255". Could you
>> please explain that with more details?
>> It's not a line command in a terminal (console). How and where execute
>> this "command" ?
> 
> BackupPC_serverMesg and BackupPC_nightly are both executables located in 
> the directory where the backuppc binaries are installed. This varies from 
> one distribution to the next.
> 
> You would run these from a terminal, but if they're not in your default 
> path, you'll have to cd to their directory or provide the 
> /full/path/to/the/executables when you run them.
> 
> Once you find the BackupPC_nightly file on your system, read the first bit 
> 
> of the file ("more BackupPC_nightly"). It will explain what the numbers 
> following the command mean.
> 
>> Thanks a lot.
>>
>> Romain
>>
>> Stephen Joyce <[EMAIL PROTECTED]>
>> 05/11/2007 14:32
>>
>> A
>> Romain PICHARD/Mondeville/VIC/[EMAIL PROTECTED]
>> cc
>> [email protected]
>> Objet
>> Re: [BackupPC-users] How to delete manually a Backup with 
> BackupPCNightly
>>
>>
>>
>>
>>
>> According to others on the list previously, it's
>>
>>  BackupPC_serverMesg BackupPC_nightly run
>>
>> which asks backuppc to perform a nightly run the next time it's safe to 
> do
>> so (immediately if it can; asap if not). If you've configured backuppc 
> to
>> only process a portion of the pool each night, you may need to send that
>> command multiple times. See $Conf{MaxBackupPCNightlyJobs} and
>> $Conf{BackupPCNightlyPeriod} in config.pl for an explanation.
>>
>> It's not a good idea to run it directly as it shouldn't run at the same
>> time as backups and other periodic tasks. If you insist (ie, you KNOW
>> nothing else is scheduled) the unsafe command is
>>
>>  BackupPC_nightly 0 255
>>
>> Hope this helps.
>>
>> Cheers, Stephen
>> --
>> Stephen Joyce
>> Systems Administrator                                            P A N I 
> C
>> Physics & Astronomy Department                         Physics & 
> Astronomy
>> University of North Carolina at Chapel Hill         Network 
> Infrastructure
>> voice: (919) 962-7214                                        and 
> Computing
>> fax: (919) 962-0480                               
> http://www.panic.unc.edu
>>  Some people make the world turn and others just watch it spin.
>>    -- Jimmy Buffet
>>
>> On Mon, 5 Nov 2007, [EMAIL PROTECTED] wrote:
>>
>>> Hello,
>>>
>>> I know that it's not possible to run BackupPC_Nightly if a backup is
>>> running but I would like to run it manually and when I want (for 
> example
>>> with command line).
>>> I would like to do that in order to delete all links and all files 
> which
>>> are needed => to do several tests about time / compression.
>>> To do these tests I don't want that files are associated, I want to
>>> compare the time with different levels of compression and for the same
>>> files (in full backup).
>>> If you know how to do that, thanks to tell me it.
>>>
>>> For your information, I use BackupPC 3.0.0 on Fedora Core 6. I back up
>> my
>>> windows clients with rsyncd.
>>>
>>> Regards,
>>>
>>> Romain
>>>
>>>
>>>
>>>
>>>
>>> Les Mikesell <[EMAIL PROTECTED]>
>>> 31/10/2007 18:21
>>>
>>> A
>>> Romain PICHARD/Mondeville/VIC/[EMAIL PROTECTED]
>>> cc
>>> [EMAIL PROTECTED], [email protected],
>>> [EMAIL PROTECTED]
>>> Objet
>>> Re: [BackupPC-users] How to delete a Backup
>>>
>>>
>>>
>>>
>>>
>>>
>>> [EMAIL PROTECTED] wrote:
>>>> Hello,
>>>>
>>>> I would like to have more informations about the deleting of backups.
>>>> I want to delete completly a full backup in order to do several tests
>>>> about time of backuping by the level of compression for backups.
>>>> So the aim of my tests is to do a full backup for one directory (with
>>>> differents files inside), several times to compare the time of backups
>>>> taking account the level of compression.
>>>>
>>>> I had several answers (and thank you for your help) and if I delete,
>> the
>>>> host via the webinterface and the tree of files and the file of
>>>> configuration of the client (per-pc) on the server
>>>> and I configure again the host (completly), it doesn't work as I want.
>>>> The files aren't saved the second time. It is associated ("fusion" in
>>>> french) with the old file even if it was deleted.
>>> You probably aren't going to the the results you want unless you do 
> this
>>> test on a different machine where you can remove all pooled files
>>> between runs.  Pooled files are only removed when the last link from 
> any
>>> pc backup has been removed, so any files that are duplicated on other
>>> machines will remain (and be re-linked in the next run) even when you
>>> remove all the links from one machine.
>>>
>>>> I read that BackupPC_nightly must run to delete all links (if I
>>>> understood correctly).
>>> It deletes pooled files with no remaining links from pc backups.
>>>
>>>> There is another means to delete the links because I don't want to 
> wait
>>>> the next day to do the next backup.
>>> If you can stop the backuppc service you can manually run BackuPC
>>> nightly anytime.  There is just some danger of a race condition if the
>>> service is running and new files are being linked while it runs.
>>>
>>> --
>>>   Les Mikesell
>>>     [EMAIL PROTECTED]
>>>
>>>
>>>
>>>
>>>
>>>
>>> SC2N -S.A  Siège Social : 2, Rue Andre Boulle - 94000 Créteil  - 327 
> 153
>>> 722 RCS Créteil
>>>
>>>
>>>
>>> "This e-mail message is intended only for the use of the intended
>>> recipient(s).
>>> The information contained therein may be confidential or privileged, 
> and
>>> its disclosure or reproduction is strictly prohibited.
>>> If you are not the intended recipient, please return it immediately to
>> its
>>> sender at the above address and destroy it."
>>>
>>>
>>
>> SC2N -S.A  Siège Social : 2, Rue Andre Boulle - 94000 Créteil  - 327 153
>> 722 RCS Créteil
>>
>>
>>
>> "This e-mail message is intended only for the use of the intended
>> recipient(s).
>> The information contained therein may be confidential or privileged, and
>> its disclosure or reproduction is strictly prohibited.
>> If you are not the intended recipient, please return it immediately to 
> its
>> sender at the above address and destroy it."
>>
>>
>>
>> -- 
>>
>>
> 
> 
>  
> SC2N -S.A  Siège Social : 2, Rue Andre Boulle - 94000 Créteil  - 327 153 
> 722 RCS Créteil
> 
>  
> 
> "This e-mail message is intended only for the use of the intended
> recipient(s).
> The information contained therein may be confidential or privileged, and
> its disclosure or reproduction is strictly prohibited.
> If you are not the intended recipient, please return it immediately to its
> sender at the above address and destroy it."
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to