Displaying 2 results from an estimated 2 matches for "rollbackup".
Did you mean:
vollbackup
2011 May 08
1
Transaction - but no rollback?
...fore starting that
job, my session is isolated and I don''t see any data.
But: If the job fails (exeption) there is data in the database -
although a rollback is performed:
The rollback itself is logged "SQL (0.1ms) ROLLBACK" - and no COMMIT
is logged.
Is rails perfoming a "ROLLBACKUP TO SAVEPOINT" instead?
How can I make sure, that no data is written, if a ROLLBACK happens?
Thanks,
yanosz
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH...
2004 Mar 24
1
rsync --files-from with symlink in path
...in/rsync
SED=/usr/bin/sed
USER=vmladmin
ROLLLISTDIR=/home/vmladmin/rolllists/
ROLLFILE=${ROLLLISTDIR}rollfile.${CELERITYID}
EXCLUDEFILE=${ROLLLISTDIR}rollfile.exclude
RSYNC_OPT="-zrc --delete"
EXCLUDE="--exclude-from=${EXCLUDEFILE}"
BACKUP="--backup-dir=/opt/staging/rollbackup/${CELERITYID}-`date
+%Y%m%d%H%M`"
rsyncfiles ()
{
SERVER=${1}
SRCDIR=${2}
DESTDIR=${3}
for FILES in `cat ${ROLLFILE} | sed 's~ $~~g' | tr " " "@"`
do
FNAME=`echo ${FILES} | ${SED} 's~@~\ ~g'`
${RSYNC} -e "${SSH}" -nv ${RSYNC_OPT} $...