Quantcast
Channel: 2BrightSparks
Viewing all 9303 articles
Browse latest View live

SyncBackPro (commercial) • RunBeforeFolderCompare Does not skip requested Folders

$
0
0
Hello, I am trying to skip folders that contain a specific file. I am using the RunBeforeFolderCompare hook, however no matter what I set the Skip variable to, the folder is never skipped. My simple script is below, the hook is called as I would expect, but setting Skip doesn't do anything. Even this minimal case doesn't seem to change the result:

CODE:

Procedure RunBeforeFolderCompare(Foldername; var Skip);begin    Skip := True;end
There are no examples using this hook, am I using it correctly?

Thank you for your help.

CODE:

//// Ignore all files containing a flag file.// SBLang=Pascal//Function Description(var ScriptType);begin  Result := 'Ignore folders containing a flag file.';  ScriptType := SCRIPTTYPE_RUN;End;Procedure RunBeforeFolderCompare(Foldername; var Skip);begin     if SBRunning.LeftFileExists(Foldername + '.nobackup') then     begin          // ShowMessage('I will skip ' + Foldername);          Skip := True;     endEnd;

(side note: you cannot search the forum for the string "RunBeforeFolderCompare", it says the word is too common!)

I asked support, but they said they do not offer any scripting support whatsoever.

Statistics: Posted by taviso — Tue May 14, 2019 1:33 pm



SyncBackPro (commercial) • Re: RunBeforeFolderCompare Does not skip requested Folders

$
0
0
Hello, I am trying to skip folders that contain a specific file. I am using the RunBeforeFolderCompare hook, however no matter what I set the Skip variable to, the folder is never skipped.
I think I have a solution, I guess I'm the only person using this feature as there are zero hits anywhere for this hook :lol:

This seems to do what I want so far, maybe it will give a hint to anyone searching in future.

Please note, I'm a C programmer, I'm haven't written any Pascal since college... so I'm sure this is sub-optimal (1 indexed strings, wtf!)

CODE:

// // Ignore all files containing a flag file.// SBLang=Pascal//function Description(var ScriptType);begin  Result := 'Ignore folders containing a flag file.';  ScriptType := SCRIPTTYPE_RUN;end // If passed a file, return the containing directory.// If passed a directory, return the parent directory.function ParentDirectory(FileName);begin     Result := FileName;     // Check for root directory.     if Result = '\' then        Exit;     // Remove a character until we hit a directory separator.     repeat           Result := Copy(Result, 1, Length(Result) - 1);     until Result[Length(Result)] = '\';endprocedure RunBeforeFolderCompare(FolderName; var Skip);begin     // Check if this directory contains the flag file,     // or any parent directory up until the root directory.     repeat          if SBRunning.LeftFileExists(FolderName + '.nobackup') then             Skip := True;          FolderName := ParentDirectory(FolderName);     until FolderName = '\';endprocedure RunBeforeFileCompare(FileName; var Skip);    var FolderName;begin     // Find the name of the directory containing this file.     FolderName := ParentDirectory(FileName);     // Check if the containing directory has the flag file,     // or any parent directory up until the root directory.     repeat          if SBRunning.LeftFileExists(FolderName + '.nobackup') then             Skip := True;          FolderName := ParentDirectory(FolderName);     until FolderName = '\';end

Statistics: Posted by taviso — Tue May 14, 2019 3:38 pm


SyncBackPro (commercial) • Run Group Profil when drive is attached not working properly

$
0
0
Hi,

I have a a group profile with several profiles to back up certain files to an external usb ssd that I use to sync these folders between PC, laptop and tablet. The group profile is set to run when the SSD disk with the corresponding label is inserted into drive S: . However this results in a mess since only one or two profiles run properly and the others are aborted. This happens on all machines. Profiles are not set to run in parallel and no single profile has a trigger to start when something happens. Please see this screencapture:
https://drive.google.com/file/d/1YRkjrPDmOARqEor2AKBoqVMdXWwrrcd4/view?usp=sharing

Running the group profile manually is working out like it is supposed to as you can see here: https://drive.google.com/file/d/1QvUoMDWs5-5D9XIKKRfEOMNNCt3GCvjB/view?usp=sharing

Any ideas what the problem could be? It's quite annoying since it takes away to have these routines running in the background without much attention.

Cheers
Oliver

Statistics: Posted by olidie — Wed May 15, 2019 5:54 am


SyncBackPro (commercial) • Re: Run Group Profil when drive is attached not working properly

SyncBackPro (commercial) • Creating A Backup From A Western Digital My Cloud

$
0
0
Hey all!
Has anyone figured out how to do a backup from a Western Digital My Cloud Drive (networked drive) to a connected USB External Drive using SyncBackPro8? Any help would be greatly appreciated.

: - )

Statistics: Posted by nauxone — Thu May 16, 2019 4:53 am


SyncBackPro (commercial) • Freezing on "Loading Results"

$
0
0
I seem to have an issue where SBP is freezing while doing a backup to a USB connected drive that I have used many times. It gets to a certain point in the backup process where it says "Backup name : Removable (Folders): Loading results... xx,xxx". It sits there forever. It never goes past that point. The bar will just cycle left to right forever.

I have rebooted, replugged the drive, etc. No joy. Any ideas?

Statistics: Posted by Milkman — Thu May 16, 2019 8:59 pm


SyncBackPro (commercial) • Re: Freezing on "Loading Results"

SyncBackSE (commercial) • How to open a .bwt archive when profile do not exist anymore

$
0
0
Hi,
I am a very long time user of SyncBack and this is the first time I have a question to ask to the community.
The problem is that I have archive/backup files compressed with Burrows Wheeler algorithm (.bwt file extension).
The profile which make these files is gone.
But I would like to open some of these files to recover a specific file inside.
Synback is officially the only application which can do that, but how to create a profile to restore the content of these files ??
Any help would be very much appreciated
Cheers,
Frederic

Statistics: Posted by fds8 — Sun May 19, 2019 9:50 am



SyncBackFree (freeware) • ProFTPD FTP with windows 10 connection issue

$
0
0
1


I have one server, Linux based, I use for some years like a backup cloud server. This work very well with client like Windows 7, Ubuntu and Android. But Not with Windows 10.
All programs I'ave used for connection work well without problem from years with this clients.
Now I would like connect another computer for online backup with SyncBackFree or freefilesync on windows 10 operative system and I'ave problem with FTP connection.
To do a test I also tried the ftp connection with filezilla and even here with win 10 I find the same problem.

The program I use like server FTP is vsftpd, but I'ave try also ProFTPD with the same problem.

Here some test:

server FTP on linux system ProFTPD (with vsftpd is very similar result)

----------------Test connection 1:
client SyncBackFree on Windows 10 32bit

CODE:

13/01/2019 03:48:33: SyncBackFree V8.5.97.0  13/01/2019 03:48:33: Windows 10 build 17134  13/01/2019 03:48:33: Resolving host name "82.**.**.**"  13/01/2019 03:48:33: Connecting to 82.**.**.** Port: 25  13/01/2019 03:48:33: Connected to 82.**.**.**.    13/01/2019 03:48:34: 220 ProFTPD 1.3.5a Server (MaxServerFtp) [192.168.1.8]  13/01/2019 03:48:34: USER odroid  13/01/2019 03:48:34: 331 Password required for odroid  13/01/2019 03:48:34: PASS (hidden)  13/01/2019 03:48:35: 230 User odroid logged in  13/01/2019 03:48:35: SYST  13/01/2019 03:48:35: 215 UNIX Type: L8  13/01/2019 03:48:35: Detected Server Type: UNIX  13/01/2019 03:48:35: RTT: 26.404 ms 13/01/2019 03:48:35: FEAT  13/01/2019 03:48:35: 211-Features:  13/01/2019 03:48:35: SITE MKDIR  13/01/2019 03:49:36: Timeout (60s).  13/01/2019 03:49:36: 3  13/01/2019 03:49:36: Client closed the connection. 
---------------Test connection 2:
freefilesync on Windows 10 32bit

CURLE_OPERATION_TIMEDOUT: server response timeout
SITE MKDIR [curl_easy_perform]
---------------Test connection 3:
filezilla client on Windows 10 32bit

CODE:

Stato:  Connessione a 82.**.**.**:25...  Stato:  Connessione stabilita, in attesa del messaggio di benvenuto...  Stato:  Server non sicuro, non supporta FTP su TLS.  Comando:    USER odroid  Risposta:   331 Password required for odroid  Comando:    PASS **************  Risposta:   230 User odroid logged in  Comando:    SYST  Risposta:   215 UNIX Type: L8  Comando:    FEAT  Risposta:   211-Features:  Risposta:    SITE MKDIR  Errore: Timeout connessione dopo 20 secondi di inattività  Errore: Impossibile collegarsi al server  Stato:  In attesa di un nuovo tentativo...  Stato:  Connessione a 82.**.**.**:25...  Stato:  Connessione stabilita, in attesa del messaggio di benvenuto...  Risposta:   220 ProFTPD 1.3.5a Server (MaxServerFtp) [192.168.1.8]  Comando:    AUTH TLS  Risposta:   500 AUTH not understood  Comando:    AUTH SSL  Risposta:   500 AUTH not understood  Stato:  Server non sicuro, non supporta FTP su TLS.  Comando:    USER odroid  Risposta:   331 Password required for odroid  Comando:    PASS **************  Risposta:   230 User odroid logged in  Comando:    FEAT  Risposta:   211-Features:  Risposta:    SITE MKDIR  Errore: Tentativo di connessione interrotto dall'utente  
Can someone help me? Any help would be highly appreciated.

Statistics: Posted by junkts — Tue May 21, 2019 8:11 am


SyncBackFree (freeware) • Re: ProFTPD FTP with windows 10 connection issue

SyncBackPro (commercial) • noticaition banner doesn't show

$
0
0
Hi
i have the last version pro , for some profiles , i have enabled notify "display a notification when the profiles start"

but it doesn't show anything ,what's wrong?

may somebody show me how syncbackpro notification look ?

i'm running w10 updated 1809
thanks
Image

Statistics: Posted by Giulia — Fri May 24, 2019 10:37 am


SyncBackSE (commercial) • set source file date

$
0
0
I'd like to be able to ignore older files in the source....
possible?
How?

Statistics: Posted by Newmarket2 — Sat May 25, 2019 6:25 pm


SyncBackSE (commercial) • Re: set source file date

SyncBackPro (commercial) • Limit bandwitdh usage not working properly

$
0
0
Hi,

We've been using SBP for some time now, but recently I've been using it to copy new large VM's to our external locations.
These locations have limited bandwith, so I thought of using the settings Copy/Delete-->Advanced-->Limit bandwidth usage to:...

I have set this at 512KBps, so that I can use several connections concurrent with our 30MBps internetconnection.
Though I am seeing quite some weird stuff now....
SBP is saying it is copying the file with 512KBps, but when I check the windows networkcard, it is showing a 10 !! times more usage.
When I check our monitoring on our internetconnection, when I am using 3 concurrent 512KBps connections(according to SBP) it is actually using 5MBps per connection!
In the beginning this caused some problems, because I was copying like 6 concurrent connections(6x 512KBps = 3MBps), but it actually used our full bandwidth, which caused a problem in our VoIP-connections....

Do more people have this kind of problem? Is this a SBP problem or a Windows problem?
I would like some thoughts from here on how to solve this for the future.....

With kind regards,

Equit

Statistics: Posted by equit — Mon May 27, 2019 12:35 pm


SyncBackFree (freeware) • Re: Tips or best practices for syncing over a VPN?

$
0
0
I'm about to do this too. I have the same question.

Statistics: Posted by frostyofthenorth — Mon May 27, 2019 4:49 pm



SyncBackPro (commercial) • Mapped drives not appearing

$
0
0
Hi everyone,

I'm looking to sync to a remote computer using a VPN (Hamachi, to be specific).

I've mapped the remote drives in Windows. They appear and function properly in File Explorer, but the mapped drives do not appear in SyncBackPro's source or destination windows. When I manually enter the drive letter, SBP says the drives do not exist, when in fact they do.

Why is this happening?

Statistics: Posted by frostyofthenorth — Mon May 27, 2019 4:51 pm


SyncBackPro (commercial) • Script For Callback Web Page Touch Help!

$
0
0
Can some genius out there please tell me how in this galaxy do I do something like this...

When backup profile completes:
On BACKUP SUCCESS - Call/Open/Get web page like https://website.com/backupsuccess.php
On BACKUP FAIL - Call/Open/Get web page like https://website.com/backupfail.php

I just need a script maybe or some other way of just calling those web pages.
Just need to touch the pages. NOT view them. So that I can log a pass or fail of the current backup to that php service.

Statistics: Posted by SystemAdmin — Mon May 27, 2019 10:13 pm


SyncBackPro (commercial) • Re: Mapped drives not appearing

$
0
0
Hi,

We have answered via your parallel support ticket.

Thank you

Statistics: Posted by Swapna — Tue May 28, 2019 12:15 am


SyncBackPro (commercial) • Re: Script For Callback Web Page Touch Help!

$
0
0
I worked out I can call a batch file that does a 'curl' web page open but that is only if the profile backup is a success.
However how can you get a batch file to read if %PROFILEFAILED% is 1 or 0
Anyone??

The manual says this...
--------------------------------------------------------------------------------------------------------------
https://www.2brightsparks.com/syncback/help/index.html?commandlineparameters.htm
--------------------------------------------------------------------------------------------------------------
Run after profile: To have a program run after the profile has finished,enable the Run after profile checkbox and type the name into the edit-box or click the folder icon next to it. You can use the same variables and switches as per the Run Before program.

Starting with Windows Vista, Microsoft introduced many restrictions on how programs can react to and handle the shutdown or restart of a computer. Due to these restrictions Run Before and Run After programs will silently fail and not even start if the profile is set to run on shutdown/logoff and the computer is shutdown or restarted (the programs will still be run as per normal if its a logoff).

The special variable %PROFILEFAILED% can be used to pass the result of the profile run. If the value is 1 (one) then the profile failed (or was aborted), if the value is 0 (zero) then the profile run was a success.
--------------------------------------------------------------------------------------------------------------

Statistics: Posted by SystemAdmin — Tue May 28, 2019 9:51 pm


SyncBackPro (commercial) • Google Drive API changes coming early 2020

Viewing all 9303 articles
Browse latest View live