Recent Posts

Pages: [1] 2 3 ... 8
1
Java SMF Backup / Re: Password seems to break after restart
« Last post by viulian on June 01, 2012, 07:09:27 AM »
Not yet ...

I'm still thinking what could cause this issue ... Can you please try to disable UAC temporarily and then check if it still works ?
2
Java SMF Backup / Re: Password seems to break after restart
« Last post by Savod on May 14, 2012, 01:06:04 PM »
Thanks for your quick response!

I checked it twice: the settings file is not read-only, it changes everytime I alter the settings/password.
I'm always running as an Admin, the UAC pops up at every start.

The cmd does not show up errors, but that brought me to an idea: is there a way to start JavaSMFBackup with the password as an parameter, maybe then it would work?
3
Java SMF Backup / Re: Password seems to break after restart
« Last post by viulian on May 14, 2012, 07:14:59 AM »
Hello,

The only thing I can think off to cause this behavior is that the settings file is read-only and it contains an old password now. The scenario is like this:
a) you defined your forums and so on, put passwords.
b) at a later moment you activated UAC (or something happened, and the settings file is not writable anymore by the app to update password or other forum values)
c) you changed your admin password, but the app can't update the new settings
d) now you have to type it everytime.

Seems a bit strange but ... who knows ?

You have two options:
a) if what I said sounds like what would happen, then please restore rights (or run as administrator).
b) if not, maybe you can try to start it from a command prompt and see if there are exceptions when starting up. Maybe the settings file got corrupted somehow in time and password is not usable anymore.

4
Java SMF Backup / Password seems to break after restart
« Last post by Savod on May 14, 2012, 01:18:11 AM »
Hello,

First, thanks for the great piece of software that I'm using for years now!

Recently I have a problem:
The password seems to break when the program is restarted.

Everytime I try to do a backup after starting JavaSMFBackup (manually or via autostart) I get the following Exception:
smfbackup.http.SMFException: Login failed (no redirect received to the forum's admin page).
at smfbackup.http.SMFConnection.doBackup(SMFConnection.java:209)
at smfbackup.http.SMFConnection.doJob(SMFConnection.java:500)
at smfbackup.run.Manageable.run(Manageable.java:29)


When I reenter the password, it works again until the next start.

I'm using JavaSMFBackup 1.4.0 under Windows 7 x64 and SMF 2.0.2.
The Version i used previously worked perfectly, I think the problem occurred since I upgraded, but not quite sure.

Thanks
5
Java SMF Backup / Re: Schedule SMF Backup with Windows task scheduler
« Last post by viulian on February 14, 2012, 01:05:13 PM »
Hello,

Thank you for the feedback.

I will investigate the Task Scheduler integration (or a way to have it run as a daemon, one time only for all defined forums).

6
Java SMF Backup / Schedule SMF Backup with Windows task scheduler
« Last post by AndersNolberger on February 14, 2012, 12:47:33 PM »
I have been using your backup program to take backup of a forum for some time now and it works great.

But I dont like that I have to be logged in for the scheduled backups to run. Is it possible to add a commad line parameter that makes the program run and take a backup and then exit. If so I could schedule the backups with Windows Task Scheduler and run it even if I am not logged on to the computer.

Thanks
7
Java SMF Backup / Re: Feature Request: Copy Backup to other forum
« Last post by viulian on October 21, 2010, 11:04:50 PM »
Hehe :)

Sync new posts since, etc ... reminds me of the 'cut off' date of Domino servers (back in the days when I worked with the Domino databases). If I remember correctly, it was related to when the replication last happened, so you could only replicate was was newer from the cut off date.

I am sorry but it would require too much time on my part ... unfortunately in MySql also - I don't think you have support for real-time replication, last modified date, cut off dates, etc, to help you, everything you have to implement either by hand, or ... you have to apply only the diff (between the two SQLs);
But then ... you might have conflicts - what if a board was renamed in 'production' server ? If you don't have the date of last modification - and you don't have it without modifying SMF, you have to handle each conflict manually ... do you keep the local version, the remote version, what do you keep from local ? If you keep only what is identical with 'production', then why not removing everything then reimporting ?

So as you say :) it's not a complex situation to understand what is needed, but that would be too much ...

I think, at least for themes, it might be easier to modify SMF not to show some themes to the users, so you could just do an 'update' in 'production' server and see them as admin - without fearing that users might select the theme.
One thing I did was a perl script that takes a 'production' databse - replaces all URLs with the localhost address of the forum (so then I don't spend time to reset all theme URL and paths) and imports it into Mysql. It took some of the pain away ..
8
Java SMF Backup / Re: Feature Request: Copy Backup to other forum
« Last post by Snaky on October 20, 2010, 03:54:37 PM »
my use case: I have a development server, where I keep copies of several forums in different states (mods, themes, etc.).
Of course I use rsync and mysqldump for automated backup, but sometimes it is good to replicate one forum state to one instance of a development forum - e.g. to sync new boards with new IDs and new users etc.

full blown version the should have options like "sync new boards only", "sync new posts since", "sync new users only"... but I know that this would be a quite elaborate effort...

another use case: make a fast copy to anoher server for maintainance or as a backup system.

I understand, that there is no API for restore backup in smf - it should be a simple php file to do the job - however, the java interface could provide a good interface for organizing backups / servers / time.

To make it even better, you could use mercurial or git as a backend...

well, ok, just some dreams :)

Thanks for your attention!
Snaky
9
Java SMF Backup / Re: Feature Request: ISO 8601 Date Format in Backup File Name
« Last post by viulian on October 19, 2010, 07:53:07 PM »
This should not be a problem, yes ... I can add this in the next release, but you will have to configure it separately (since I can't change the default one now, maybe other users are already relying on the way it is).

I will make an announcement here as well as on the main SimpleMachines forum, in the Java SMF Backup thread.

Thank you,
10
Java SMF Backup / Re: Feature Request: Copy Backup to other forum
« Last post by viulian on October 19, 2010, 07:51:32 PM »
Can you please describe more what you have in mind ?
Pages: [1] 2 3 ... 8