Sponsored Content
Full Discussion: backing up
Top Forums UNIX for Dummies Questions & Answers backing up Post 6522 by LivinFree on Thursday 6th of September 2001 06:16:06 AM
Old 09-06-2001

Are you using the "o" flag in the options? If so, that is what is causing the rewind.

Check the man page for more details.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Backing Up Directories

Hi Guys, I'm writing a shell script that presents the user with various options, they select one (numbered 1-9) and it then excecutes the correct code. No problem, but I'm having slight difficulty with one option. The user can select to backup all the files in the current directory to another... (2 Replies)
Discussion started by: indigoecho
2 Replies

2. UNIX for Dummies Questions & Answers

Best practises for backing up

Hi, I'm about to start a regular backup schedule for my Linux system. I need some pointers if I may :) The system is *mainly* used as a personal home computer (it's actually a laptop running SuSE 9.2) although I do host some client material from it being a PHP developer. I know that in... (2 Replies)
Discussion started by: d11wtq
2 Replies

3. UNIX for Dummies Questions & Answers

backing up the vtoc

Can you backup the vtoc, then restore it if you somehow mess it up? This is solaris 9, x86. (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

4. Solaris

Backing up the system

Hello Mentors, Before anything else I would like to thanks to all expert here especially Pressy as he guided me to recover our server from disk failure. I posted a lot of question from these forum site concerning on how to recover our server and luckly you guys help me. Our server is now up and... (6 Replies)
Discussion started by: eykyn17
6 Replies

5. AIX

what am i backing up

we are running aix on are server. we would like to start doing online backups, but the software company that we use is not beeing much help on what files we are backing up. is there a command that will tell me what files that we are backing up. they offer a service that would back it up for use,... (3 Replies)
Discussion started by: shane.hankins
3 Replies

6. Shell Programming and Scripting

Need help in backing up of databases.

Hi Everyone, I am new to DBA stuff. I wonder if anyone can help me. Task is that, I have 10 databases and need to take backups of all the databases using data pump in Unix/Linux, compress them using gzip and use cron to schedule the job twice a day. Appreciate if anyone can help me in... (1 Reply)
Discussion started by: sreepriya0987
1 Replies

7. Shell Programming and Scripting

Problems backing up a folder

So I play on a minecraft server that keeps crashing, then rolling back, losing about 30 minutes of data. I don't own the server I'm just writing it for him. So I'm trying to have the script make a back up of the server every 5 minutes as long as it is bigger than the back up, since as more... (2 Replies)
Discussion started by: matt_j_the_king
2 Replies

8. Solaris

Backing up Solaris 10 servers

Got 5-6 Solaris 10 servers in remote location - power work being done. At the moment, we just back up the application database that these servers run with the idea that if it all goes wrong we can rebuild and then restore the application. However, requirement is to provide a complete backup... (3 Replies)
Discussion started by: paulfoel
3 Replies

9. Red Hat

Backing up and restoring RHEL 6.3 VM

Hi! I am administering a system I didn't configure. I know it is a RHEL 6.3 VM image and there are others as well. How do I make a backup of the image and of the filesytems, in case I screw up the configuration. How can I restore it as well. My plan is this 1) Find out what kind of VM,... (1 Reply)
Discussion started by: md888
1 Replies

10. UNIX for Advanced & Expert Users

Backing up an entire HD

Are there any recommended methods for Backing up an entire HD? I want to backup my data. I do not care about the OS file. I just want my work, movies, and music. I have about 600 GB of work, movies, and music so a bit worried about fragmentation if I just copy and paste. (1 Reply)
Discussion started by: cokedude
1 Replies
MONGOCOMMANDCURSOR.REWIND(3)						 1					      MONGOCOMMANDCURSOR.REWIND(3)

MongoCommandCursor::rewind - Executes the command and resets the cursor to the start of the result set

SYNOPSIS
public array MongoCommandCursor::rewind (void ) DESCRIPTION
If the cursor has already started iteration, the command will be re-executed. PARAMETERS
This function has no parameters. RETURN VALUES
The raw server result document. ERRORS
/EXCEPTIONS Throws MongoConnectionException if it cannot reach the database and MongoCursorTimeoutException if the timeout is exceeded. Throws MongoCursorException if the cursor was created with MongoCommandCursor.createFromDocument(3) and has already started iteration. Such cursors cannot be iterated multiple times, as they lack the original command necessary for re-execution. EXAMPLES
Example #1 MongoCommandCursor.rewind(3) <?php $rawResult = $commandCursor->rewind(); // Command cursor is now reset to the start of the result set var_dump($rawResult); ?> The above example will output something similar to: array(2) { ["cursor"]=> array(3) { ["id"]=> object(MongoInt64)#5(1) { ["value"]=> string(12) "310050110216" } ["ns"]=> string(9) "demo.test" ["firstBatch"]=> array(1) { [0]=> array(2) { ["_id"]=> object(MongoId)#6(1) { ["$id"]=> string(24) "52f5691544670a8077b0dc51" } ["value"]=> string(2) "42" } } } ["ok"]=> float(1) } SEE ALSO
Iterator::rewind. PHP Documentation Group MONGOCOMMANDCURSOR.REWIND(3)
All times are GMT -4. The time now is 05:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy