+=head1 Persistence control commands
+
+=head2 save
+
+ $r->save;
+
+=cut
+
+sub save {
+ my $self = shift;
+ $self->_sock_send_ok( 'SAVE' );
+}
+
+=head2 bgsave
+
+ $r->bgsave;
+
+=cut
+
+sub bgsave {
+ my $self = shift;
+ $self->_sock_send_ok( 'BGSAVE' );
+}
+
+=head2 lastsave
+
+ $r->lastsave;
+
+=cut
+
+sub lastsave {
+ my $self = shift;
+ $self->_sock_send( 'LASTSAVE' );
+}
+
+=head2 shutdown
+
+ $r->shutdown;
+
+=cut
+
+sub shutdown {
+ my $self = shift;
+ $self->_sock_send( 'SHUTDOWN' );
+}
+